Skip to content

Commit 0861e5d

Browse files
author
Zuoweixiang
committed
0.1.0
1 parent 01f9a56 commit 0861e5d

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

ios/RNSensorsAnalyticsModule.m

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
#import <React/RCTEventDispatcher.h>
1212
#import "SensorsAnalyticsSDK.h"
1313

14-
static NSString * const moduleVersion = @"1.1.0";
15-
1614
@implementation RNSensorsAnalyticsModule
1715

1816
RCT_EXPORT_MODULE(RNSensorsAnalyticsModule)
@@ -528,17 +526,6 @@ @implementation RNSensorsAnalyticsModule
528526
return nil;
529527
}
530528

531-
/**
532-
* 导出 version 方法给 RN 使用.
533-
* <p>
534-
* 获取当前插件版本 .
535-
* <p>
536-
* RN 中使用示例:
537-
* var version = RNSensorsAnalyticsModule.version();
538-
*/
539-
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(version){
540-
return moduleVersion;
541-
}
542529

543530
@end
544531

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sensors.data/react-native-sensors-analytics",
3-
"version": "0.0.9",
3+
"version": "0.1.0",
44
"private": false,
55
"description": "神策分析 RN 组件",
66
"main": "index.js",

0 commit comments

Comments
 (0)