jcore-react-native 2.3.3 → 2.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/JCoreRN.podspec +1 -1
- package/android/build.gradle +9 -1
- package/ios/RCTJCoreModule.xcodeproj/project.pbxproj +1 -5
- package/ios/RCTJCoreModule.xcodeproj/project.xcworkspace/xcuserdata/shunihuang.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- package/package.json +1 -1
- package/android/libs/jcore-android-5.2.0.jar +0 -0
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/Info.plist +0 -44
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64/Headers/JGCOREAPI.h +0 -19
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64/Headers/JGInforCollectionAuth.h +0 -27
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64/PrivacyInfo.xcprivacy +0 -76
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64/libJCore.a +0 -0
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64_x86_64-simulator/Headers/JGCOREAPI.h +0 -19
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64_x86_64-simulator/Headers/JGInforCollectionAuth.h +0 -27
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64_x86_64-simulator/PrivacyInfo.xcprivacy +0 -76
- package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64_x86_64-simulator/libJCore.a +0 -0
package/JCoreRN.podspec
CHANGED
|
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
|
|
|
15
15
|
s.source = { :git => "https://github.com/jpush/jcore-react-native.git", :tag => "#{s.version}" }
|
|
16
16
|
s.source_files = 'ios/RCTJCoreModule/*.{h,m}'
|
|
17
17
|
s.preserve_paths = "**/*.js"
|
|
18
|
-
s.vendored_frameworks = "ios/RCTJCoreModule/*.xcframework"
|
|
19
18
|
s.libraries = 'z','resolv', 'sqlite3', 'c++.1'
|
|
19
|
+
s.dependency 'JCore','5.3.0'
|
|
20
20
|
s.dependency 'React'
|
|
21
21
|
end
|
package/android/build.gradle
CHANGED
|
@@ -20,7 +20,15 @@ android {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
+
repositories {
|
|
24
|
+
flatDir {
|
|
25
|
+
dirs 'libs'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
23
29
|
dependencies {
|
|
24
|
-
|
|
30
|
+
// 支持 JAR 和 AAR 两种格式
|
|
31
|
+
// implementation fileTree(dir: 'libs', include: ['*.jar', '*.aar'])
|
|
25
32
|
implementation 'com.facebook.react:react-native:+'
|
|
33
|
+
implementation 'cn.jiguang.sdk:jcore:5.3.0'
|
|
26
34
|
}
|
|
@@ -3,13 +3,12 @@
|
|
|
3
3
|
archiveVersion = 1;
|
|
4
4
|
classes = {
|
|
5
5
|
};
|
|
6
|
-
objectVersion =
|
|
6
|
+
objectVersion = 46;
|
|
7
7
|
objects = {
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
10
|
08166A7B27EC622A00C7233B /* RCTJCoreModule.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = 6212E9EF1F3991D500BDF51A /* RCTJCoreModule.h */; };
|
|
11
11
|
6212E9F11F3991D500BDF51A /* RCTJCoreModule.m in Sources */ = {isa = PBXBuildFile; fileRef = 6212E9F01F3991D500BDF51A /* RCTJCoreModule.m */; };
|
|
12
|
-
62A780B02EA728CB0065922E /* jcore-ios-5.2.1.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 62A780AF2EA728CB0065922E /* jcore-ios-5.2.1.xcframework */; };
|
|
13
12
|
/* End PBXBuildFile section */
|
|
14
13
|
|
|
15
14
|
/* Begin PBXCopyFilesBuildPhase section */
|
|
@@ -29,7 +28,6 @@
|
|
|
29
28
|
6212E9B41F3990DC00BDF51A /* libRCTJCoreModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTJCoreModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
30
29
|
6212E9EF1F3991D500BDF51A /* RCTJCoreModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTJCoreModule.h; sourceTree = "<group>"; };
|
|
31
30
|
6212E9F01F3991D500BDF51A /* RCTJCoreModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTJCoreModule.m; sourceTree = "<group>"; };
|
|
32
|
-
62A780AF2EA728CB0065922E /* jcore-ios-5.2.1.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = "jcore-ios-5.2.1.xcframework"; path = "RCTJCoreModule/jcore-ios-5.2.1.xcframework"; sourceTree = "<group>"; };
|
|
33
31
|
/* End PBXFileReference section */
|
|
34
32
|
|
|
35
33
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -37,7 +35,6 @@
|
|
|
37
35
|
isa = PBXFrameworksBuildPhase;
|
|
38
36
|
buildActionMask = 2147483647;
|
|
39
37
|
files = (
|
|
40
|
-
62A780B02EA728CB0065922E /* jcore-ios-5.2.1.xcframework in Frameworks */,
|
|
41
38
|
);
|
|
42
39
|
runOnlyForDeploymentPostprocessing = 0;
|
|
43
40
|
};
|
|
@@ -47,7 +44,6 @@
|
|
|
47
44
|
5CE8168A22FC0295007D710C /* Frameworks */ = {
|
|
48
45
|
isa = PBXGroup;
|
|
49
46
|
children = (
|
|
50
|
-
62A780AF2EA728CB0065922E /* jcore-ios-5.2.1.xcframework */,
|
|
51
47
|
);
|
|
52
48
|
name = Frameworks;
|
|
53
49
|
sourceTree = "<group>";
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>AvailableLibraries</key>
|
|
6
|
-
<array>
|
|
7
|
-
<dict>
|
|
8
|
-
<key>HeadersPath</key>
|
|
9
|
-
<string>Headers</string>
|
|
10
|
-
<key>LibraryIdentifier</key>
|
|
11
|
-
<string>ios-arm64</string>
|
|
12
|
-
<key>LibraryPath</key>
|
|
13
|
-
<string>libJCore.a</string>
|
|
14
|
-
<key>SupportedArchitectures</key>
|
|
15
|
-
<array>
|
|
16
|
-
<string>arm64</string>
|
|
17
|
-
</array>
|
|
18
|
-
<key>SupportedPlatform</key>
|
|
19
|
-
<string>ios</string>
|
|
20
|
-
</dict>
|
|
21
|
-
<dict>
|
|
22
|
-
<key>HeadersPath</key>
|
|
23
|
-
<string>Headers</string>
|
|
24
|
-
<key>LibraryIdentifier</key>
|
|
25
|
-
<string>ios-arm64_x86_64-simulator</string>
|
|
26
|
-
<key>LibraryPath</key>
|
|
27
|
-
<string>libJCore.a</string>
|
|
28
|
-
<key>SupportedArchitectures</key>
|
|
29
|
-
<array>
|
|
30
|
-
<string>arm64</string>
|
|
31
|
-
<string>x86_64</string>
|
|
32
|
-
</array>
|
|
33
|
-
<key>SupportedPlatform</key>
|
|
34
|
-
<string>ios</string>
|
|
35
|
-
<key>SupportedPlatformVariant</key>
|
|
36
|
-
<string>simulator</string>
|
|
37
|
-
</dict>
|
|
38
|
-
</array>
|
|
39
|
-
<key>CFBundlePackageType</key>
|
|
40
|
-
<string>XFWK</string>
|
|
41
|
-
<key>XCFrameworkFormatVersion</key>
|
|
42
|
-
<string>1.0</string>
|
|
43
|
-
</dict>
|
|
44
|
-
</plist>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// JGCOREService.h
|
|
3
|
-
// JCore
|
|
4
|
-
//
|
|
5
|
-
// Created by Shuni Huang on 2024/3/19.
|
|
6
|
-
// Copyright © 2024 jiguang. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
|
|
13
|
-
@interface JGCOREAPI : NSObject
|
|
14
|
-
|
|
15
|
-
+ (void)ci:(BOOL)enable;
|
|
16
|
-
|
|
17
|
-
@end
|
|
18
|
-
|
|
19
|
-
NS_ASSUME_NONNULL_END
|
package/ios/RCTJCoreModule/jcore-ios-5.2.1.xcframework/ios-arm64/Headers/JGInforCollectionAuth.h
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// JGInforCollectionAuth.h
|
|
3
|
-
// JCore
|
|
4
|
-
//
|
|
5
|
-
// Created by 豆瓣 on 2021/10/27.
|
|
6
|
-
// Copyright © 2021 jiguang. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
|
|
13
|
-
/// 合规接口,是否授权极光采集一定的设备信息
|
|
14
|
-
@interface JGInforCollectionAuthItems : NSObject
|
|
15
|
-
/// 是否授权,默认YES
|
|
16
|
-
@property(nonatomic,assign)BOOL isAuth;
|
|
17
|
-
@end
|
|
18
|
-
|
|
19
|
-
@interface JGInforCollectionAuth : NSObject
|
|
20
|
-
|
|
21
|
-
/// 设备信息采集授权接口(合规接口)
|
|
22
|
-
/// 请务必在调用初始化、功能性接口前调用此接口进行合规授权
|
|
23
|
-
/// @param authBlock auth:YES 则极光认为您同意极光采集一定的设备信息
|
|
24
|
-
+(void)JCollectionAuth:(void(^_Nullable)(JGInforCollectionAuthItems *authInfo))authBlock;
|
|
25
|
-
@end
|
|
26
|
-
|
|
27
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>NSPrivacyTrackingDomains</key>
|
|
6
|
-
<array/>
|
|
7
|
-
<key>NSPrivacyCollectedDataTypes</key>
|
|
8
|
-
<array>
|
|
9
|
-
<dict>
|
|
10
|
-
<key>NSPrivacyCollectedDataType</key>
|
|
11
|
-
<string>NSPrivacyCollectedDataTypeCrashData</string>
|
|
12
|
-
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
13
|
-
<false/>
|
|
14
|
-
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
15
|
-
<false/>
|
|
16
|
-
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
17
|
-
<array>
|
|
18
|
-
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
19
|
-
</array>
|
|
20
|
-
</dict>
|
|
21
|
-
<dict>
|
|
22
|
-
<key>NSPrivacyCollectedDataType</key>
|
|
23
|
-
<string>NSPrivacyCollectedDataTypeDeviceID</string>
|
|
24
|
-
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
25
|
-
<false/>
|
|
26
|
-
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
27
|
-
<false/>
|
|
28
|
-
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
29
|
-
<array>
|
|
30
|
-
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
31
|
-
</array>
|
|
32
|
-
</dict>
|
|
33
|
-
<dict>
|
|
34
|
-
<key>NSPrivacyCollectedDataType</key>
|
|
35
|
-
<string>NSPrivacyCollectedDataTypePreciseLocation</string>
|
|
36
|
-
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
37
|
-
<false/>
|
|
38
|
-
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
39
|
-
<false/>
|
|
40
|
-
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
41
|
-
<array>
|
|
42
|
-
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
43
|
-
</array>
|
|
44
|
-
</dict>
|
|
45
|
-
</array>
|
|
46
|
-
<key>NSPrivacyTracking</key>
|
|
47
|
-
<false/>
|
|
48
|
-
<key>NSPrivacyAccessedAPITypes</key>
|
|
49
|
-
<array>
|
|
50
|
-
<dict>
|
|
51
|
-
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
52
|
-
<array>
|
|
53
|
-
<string>E174.1</string>
|
|
54
|
-
</array>
|
|
55
|
-
<key>NSPrivacyAccessedAPIType</key>
|
|
56
|
-
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
|
|
57
|
-
</dict>
|
|
58
|
-
<dict>
|
|
59
|
-
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
60
|
-
<array>
|
|
61
|
-
<string>CA92.1</string>
|
|
62
|
-
</array>
|
|
63
|
-
<key>NSPrivacyAccessedAPIType</key>
|
|
64
|
-
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
|
65
|
-
</dict>
|
|
66
|
-
<dict>
|
|
67
|
-
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
68
|
-
<array>
|
|
69
|
-
<string>C617.1</string>
|
|
70
|
-
</array>
|
|
71
|
-
<key>NSPrivacyAccessedAPIType</key>
|
|
72
|
-
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
|
73
|
-
</dict>
|
|
74
|
-
</array>
|
|
75
|
-
</dict>
|
|
76
|
-
</plist>
|
|
Binary file
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// JGCOREService.h
|
|
3
|
-
// JCore
|
|
4
|
-
//
|
|
5
|
-
// Created by Shuni Huang on 2024/3/19.
|
|
6
|
-
// Copyright © 2024 jiguang. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
|
|
13
|
-
@interface JGCOREAPI : NSObject
|
|
14
|
-
|
|
15
|
-
+ (void)ci:(BOOL)enable;
|
|
16
|
-
|
|
17
|
-
@end
|
|
18
|
-
|
|
19
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
//
|
|
2
|
-
// JGInforCollectionAuth.h
|
|
3
|
-
// JCore
|
|
4
|
-
//
|
|
5
|
-
// Created by 豆瓣 on 2021/10/27.
|
|
6
|
-
// Copyright © 2021 jiguang. All rights reserved.
|
|
7
|
-
//
|
|
8
|
-
|
|
9
|
-
#import <Foundation/Foundation.h>
|
|
10
|
-
|
|
11
|
-
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
-
|
|
13
|
-
/// 合规接口,是否授权极光采集一定的设备信息
|
|
14
|
-
@interface JGInforCollectionAuthItems : NSObject
|
|
15
|
-
/// 是否授权,默认YES
|
|
16
|
-
@property(nonatomic,assign)BOOL isAuth;
|
|
17
|
-
@end
|
|
18
|
-
|
|
19
|
-
@interface JGInforCollectionAuth : NSObject
|
|
20
|
-
|
|
21
|
-
/// 设备信息采集授权接口(合规接口)
|
|
22
|
-
/// 请务必在调用初始化、功能性接口前调用此接口进行合规授权
|
|
23
|
-
/// @param authBlock auth:YES 则极光认为您同意极光采集一定的设备信息
|
|
24
|
-
+(void)JCollectionAuth:(void(^_Nullable)(JGInforCollectionAuthItems *authInfo))authBlock;
|
|
25
|
-
@end
|
|
26
|
-
|
|
27
|
-
NS_ASSUME_NONNULL_END
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
3
|
-
<plist version="1.0">
|
|
4
|
-
<dict>
|
|
5
|
-
<key>NSPrivacyTrackingDomains</key>
|
|
6
|
-
<array/>
|
|
7
|
-
<key>NSPrivacyCollectedDataTypes</key>
|
|
8
|
-
<array>
|
|
9
|
-
<dict>
|
|
10
|
-
<key>NSPrivacyCollectedDataType</key>
|
|
11
|
-
<string>NSPrivacyCollectedDataTypeCrashData</string>
|
|
12
|
-
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
13
|
-
<false/>
|
|
14
|
-
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
15
|
-
<false/>
|
|
16
|
-
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
17
|
-
<array>
|
|
18
|
-
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
19
|
-
</array>
|
|
20
|
-
</dict>
|
|
21
|
-
<dict>
|
|
22
|
-
<key>NSPrivacyCollectedDataType</key>
|
|
23
|
-
<string>NSPrivacyCollectedDataTypeDeviceID</string>
|
|
24
|
-
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
25
|
-
<false/>
|
|
26
|
-
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
27
|
-
<false/>
|
|
28
|
-
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
29
|
-
<array>
|
|
30
|
-
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
31
|
-
</array>
|
|
32
|
-
</dict>
|
|
33
|
-
<dict>
|
|
34
|
-
<key>NSPrivacyCollectedDataType</key>
|
|
35
|
-
<string>NSPrivacyCollectedDataTypePreciseLocation</string>
|
|
36
|
-
<key>NSPrivacyCollectedDataTypeLinked</key>
|
|
37
|
-
<false/>
|
|
38
|
-
<key>NSPrivacyCollectedDataTypeTracking</key>
|
|
39
|
-
<false/>
|
|
40
|
-
<key>NSPrivacyCollectedDataTypePurposes</key>
|
|
41
|
-
<array>
|
|
42
|
-
<string>NSPrivacyCollectedDataTypePurposeAppFunctionality</string>
|
|
43
|
-
</array>
|
|
44
|
-
</dict>
|
|
45
|
-
</array>
|
|
46
|
-
<key>NSPrivacyTracking</key>
|
|
47
|
-
<false/>
|
|
48
|
-
<key>NSPrivacyAccessedAPITypes</key>
|
|
49
|
-
<array>
|
|
50
|
-
<dict>
|
|
51
|
-
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
52
|
-
<array>
|
|
53
|
-
<string>E174.1</string>
|
|
54
|
-
</array>
|
|
55
|
-
<key>NSPrivacyAccessedAPIType</key>
|
|
56
|
-
<string>NSPrivacyAccessedAPICategoryDiskSpace</string>
|
|
57
|
-
</dict>
|
|
58
|
-
<dict>
|
|
59
|
-
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
60
|
-
<array>
|
|
61
|
-
<string>CA92.1</string>
|
|
62
|
-
</array>
|
|
63
|
-
<key>NSPrivacyAccessedAPIType</key>
|
|
64
|
-
<string>NSPrivacyAccessedAPICategoryUserDefaults</string>
|
|
65
|
-
</dict>
|
|
66
|
-
<dict>
|
|
67
|
-
<key>NSPrivacyAccessedAPITypeReasons</key>
|
|
68
|
-
<array>
|
|
69
|
-
<string>C617.1</string>
|
|
70
|
-
</array>
|
|
71
|
-
<key>NSPrivacyAccessedAPIType</key>
|
|
72
|
-
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
|
|
73
|
-
</dict>
|
|
74
|
-
</array>
|
|
75
|
-
</dict>
|
|
76
|
-
</plist>
|