jcore-react-native 2.2.5 → 2.2.7

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.
Files changed (17) hide show
  1. package/{JCore.podspec → JCoreRN.podspec} +1 -1
  2. package/index.d.ts +20 -0
  3. package/ios/RCTJCoreModule.xcodeproj/project.pbxproj +4 -4
  4. package/ios/RCTJCoreModule.xcodeproj/project.xcworkspace/xcuserdata/huangshuni.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  5. package/ios/RCTJCoreModule.xcodeproj/project.xcworkspace/xcuserdata/shunihuang.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  6. package/ios/RCTJCoreModule.xcodeproj/xcuserdata/huangshuni.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  7. package/ios/RCTJCoreModule.xcodeproj/xcuserdata/shunihuang.xcuserdatad/xcschemes/xcschememanagement.plist +14 -0
  8. package/ios/{jcore-ios-4.9.0.xcframework → jcore-ios-5.0.1.xcframework}/Info.plist +7 -7
  9. package/ios/{jcore-ios-4.9.0.xcframework/ios-arm64/libJCoreM.a → jcore-ios-5.0.1.xcframework/ios-arm64/libJCore.a} +0 -0
  10. package/ios/{jcore-ios-4.9.0.xcframework/ios-arm64_x86_64-simulator/libJCoreM.a → jcore-ios-5.0.1.xcframework/ios-arm64_x86_64-simulator/libJCore.a} +0 -0
  11. package/package.json +1 -1
  12. /package/ios/{jcore-ios-4.9.0.xcframework → jcore-ios-5.0.1.xcframework}/ios-arm64/Headers/JGCOREAPI.h +0 -0
  13. /package/ios/{jcore-ios-4.9.0.xcframework → jcore-ios-5.0.1.xcframework}/ios-arm64/Headers/JGInforCollectionAuth.h +0 -0
  14. /package/ios/{jcore-ios-4.9.0.xcframework → jcore-ios-5.0.1.xcframework}/ios-arm64/PrivacyInfo.xcprivacy +0 -0
  15. /package/ios/{jcore-ios-4.9.0.xcframework → jcore-ios-5.0.1.xcframework}/ios-arm64_x86_64-simulator/Headers/JGCOREAPI.h +0 -0
  16. /package/ios/{jcore-ios-4.9.0.xcframework → jcore-ios-5.0.1.xcframework}/ios-arm64_x86_64-simulator/Headers/JGInforCollectionAuth.h +0 -0
  17. /package/ios/{jcore-ios-4.9.0.xcframework → jcore-ios-5.0.1.xcframework}/ios-arm64_x86_64-simulator/PrivacyInfo.xcprivacy +0 -0
@@ -3,7 +3,7 @@ pjson = JSON.parse(File.read('package.json'))
3
3
 
4
4
  Pod::Spec.new do |s|
5
5
 
6
- s.name = "JCore"
6
+ s.name = "JCoreRN"
7
7
  s.version = pjson["version"]
8
8
  s.homepage = pjson["homepage"]
9
9
  s.summary = pjson["description"]
package/index.d.ts ADDED
@@ -0,0 +1,20 @@
1
+ // 定义 JCore 类的类型声明
2
+ export default class JCore {
3
+ /**
4
+ * 设置认证信息
5
+ * @param auth 是否启用认证
6
+ */
7
+ static setAuth(auth: boolean): void;
8
+
9
+ /**
10
+ * 设置国家代码
11
+ * @param params 包含国家代码的对象,字段为 { code: string }
12
+ */
13
+ static setCountryCode(params: { code: string }): void;
14
+
15
+ /**
16
+ * 启用自动唤醒功能
17
+ * @param enable 是否启用自动唤醒
18
+ */
19
+ static enableAutoWakeup(enable: boolean): void;
20
+ }
@@ -9,7 +9,7 @@
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
- 6283FF522D390D1A003A8199 /* jcore-ios-4.9.0.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6283FF512D390D1A003A8199 /* jcore-ios-4.9.0.xcframework */; };
12
+ 624D3A382DB78EBC00C8C3C0 /* jcore-ios-5.0.1.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = 624D3A372DB78EBC00C8C3C0 /* jcore-ios-5.0.1.xcframework */; };
13
13
  /* End PBXBuildFile section */
14
14
 
15
15
  /* Begin PBXCopyFilesBuildPhase section */
@@ -29,7 +29,7 @@
29
29
  6212E9B41F3990DC00BDF51A /* libRCTJCoreModule.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRCTJCoreModule.a; sourceTree = BUILT_PRODUCTS_DIR; };
30
30
  6212E9EF1F3991D500BDF51A /* RCTJCoreModule.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RCTJCoreModule.h; sourceTree = "<group>"; };
31
31
  6212E9F01F3991D500BDF51A /* RCTJCoreModule.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RCTJCoreModule.m; sourceTree = "<group>"; };
32
- 6283FF512D390D1A003A8199 /* jcore-ios-4.9.0.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = "jcore-ios-4.9.0.xcframework"; sourceTree = "<group>"; };
32
+ 624D3A372DB78EBC00C8C3C0 /* jcore-ios-5.0.1.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; path = "jcore-ios-5.0.1.xcframework"; sourceTree = "<group>"; };
33
33
  /* End PBXFileReference section */
34
34
 
35
35
  /* Begin PBXFrameworksBuildPhase section */
@@ -37,7 +37,7 @@
37
37
  isa = PBXFrameworksBuildPhase;
38
38
  buildActionMask = 2147483647;
39
39
  files = (
40
- 6283FF522D390D1A003A8199 /* jcore-ios-4.9.0.xcframework in Frameworks */,
40
+ 624D3A382DB78EBC00C8C3C0 /* jcore-ios-5.0.1.xcframework in Frameworks */,
41
41
  );
42
42
  runOnlyForDeploymentPostprocessing = 0;
43
43
  };
@@ -47,7 +47,7 @@
47
47
  5CE8168A22FC0295007D710C /* Frameworks */ = {
48
48
  isa = PBXGroup;
49
49
  children = (
50
- 6283FF512D390D1A003A8199 /* jcore-ios-4.9.0.xcframework */,
50
+ 624D3A372DB78EBC00C8C3C0 /* jcore-ios-5.0.1.xcframework */,
51
51
  );
52
52
  name = Frameworks;
53
53
  sourceTree = "<group>";
@@ -0,0 +1,14 @@
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>SchemeUserState</key>
6
+ <dict>
7
+ <key>RCTJCoreModule.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
@@ -0,0 +1,14 @@
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>SchemeUserState</key>
6
+ <dict>
7
+ <key>RCTJCoreModule.xcscheme_^#shared#^_</key>
8
+ <dict>
9
+ <key>orderHint</key>
10
+ <integer>0</integer>
11
+ </dict>
12
+ </dict>
13
+ </dict>
14
+ </plist>
@@ -8,32 +8,32 @@
8
8
  <key>HeadersPath</key>
9
9
  <string>Headers</string>
10
10
  <key>LibraryIdentifier</key>
11
- <string>ios-arm64</string>
11
+ <string>ios-arm64_x86_64-simulator</string>
12
12
  <key>LibraryPath</key>
13
- <string>libJCoreM.a</string>
13
+ <string>libJCore.a</string>
14
14
  <key>SupportedArchitectures</key>
15
15
  <array>
16
16
  <string>arm64</string>
17
+ <string>x86_64</string>
17
18
  </array>
18
19
  <key>SupportedPlatform</key>
19
20
  <string>ios</string>
21
+ <key>SupportedPlatformVariant</key>
22
+ <string>simulator</string>
20
23
  </dict>
21
24
  <dict>
22
25
  <key>HeadersPath</key>
23
26
  <string>Headers</string>
24
27
  <key>LibraryIdentifier</key>
25
- <string>ios-arm64_x86_64-simulator</string>
28
+ <string>ios-arm64</string>
26
29
  <key>LibraryPath</key>
27
- <string>libJCoreM.a</string>
30
+ <string>libJCore.a</string>
28
31
  <key>SupportedArchitectures</key>
29
32
  <array>
30
33
  <string>arm64</string>
31
- <string>x86_64</string>
32
34
  </array>
33
35
  <key>SupportedPlatform</key>
34
36
  <string>ios</string>
35
- <key>SupportedPlatformVariant</key>
36
- <string>simulator</string>
37
37
  </dict>
38
38
  </array>
39
39
  <key>CFBundlePackageType</key>
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author" : "wicked.tc130",
6
6
  "license" : "ISC",
7
7
  "main" : "index.js",
8
- "version" : "2.2.5",
8
+ "version" : "2.2.7",
9
9
  "repository" : {
10
10
  "type": "git",
11
11
  "url": "https://github.com/jpush/jcore-react-native"