idwise-react-native-sdk 4.7.3-alpha.8 → 4.8.0

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 (36) hide show
  1. package/android/build.gradle +11 -2
  2. package/android/gradle.properties +3 -1
  3. package/idwise-react-native-sdk.podspec +41 -8
  4. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Assets.car +0 -0
  5. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/FinishJourneyViewContoller.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib/objects-13.0+.nib +0 -0
  6. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/FinishJourneyViewContoller.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib/runtime.nib +0 -0
  7. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Headers/IDWise.h +18 -0
  8. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/IDWiseSDK +0 -0
  9. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Info.plist +0 -0
  10. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.abi.json +3433 -1262
  11. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.private.swiftinterface +44 -6
  12. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/arm64-apple-ios.swiftinterface +44 -6
  13. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/_CodeSignature/CodeResources +30 -19
  14. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/metadata.json +2 -2
  15. package/ios/IDWiseSDK.xcframework/ios-arm64/IDWiseSDK.framework/document_detector.mlmodelc/model0/coremldata.bin +0 -0
  16. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/FinishJourneyViewContoller.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib/objects-13.0+.nib +0 -0
  17. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/FinishJourneyViewContoller.storyboardc/Y6W-OH-hqX-view-5EZ-qb-Rvc.nib/runtime.nib +0 -0
  18. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Headers/IDWise.h +18 -0
  19. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/IDWiseSDK +0 -0
  20. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Info.plist +0 -0
  21. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.abi.json +3433 -1262
  22. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +44 -6
  23. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/Modules/IDWiseSDK.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +44 -6
  24. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/_CodeSignature/CodeResources +26 -15
  25. package/ios/IDWiseSDK.xcframework/ios-x86_64-simulator/IDWiseSDK.framework/document_detector.mlmodelc/coremldata.bin +0 -0
  26. package/lib/commonjs/IDWise.js.map +1 -1
  27. package/lib/commonjs/IDWiseConstants.js.map +1 -1
  28. package/lib/commonjs/IDWiseEventListeners.js.map +1 -1
  29. package/lib/commonjs/index.js +1 -1
  30. package/lib/commonjs/index.js.map +1 -1
  31. package/lib/module/IDWise.js.map +1 -1
  32. package/lib/module/IDWiseConstants.js.map +1 -1
  33. package/lib/module/IDWiseEventListeners.js.map +1 -1
  34. package/lib/module/index.js.map +1 -1
  35. package/package.json +10 -5
  36. /package/ios/{IdwiseMobileSdk.h → IdwiseMobileSdk-Bridging-Header.h} +0 -0
@@ -1,3 +1,6 @@
1
+
2
+
3
+
1
4
  buildscript {
2
5
  // Buildscript is evaluated before everything else so we can't use getExtOrDefault
3
6
  def kotlin_version = rootProject.ext.has("kotlinVersion") ? rootProject.ext.get("kotlinVersion") : project.properties["IdwiseMobileSdk_kotlinVersion"]
@@ -9,7 +12,7 @@ buildscript {
9
12
  }
10
13
 
11
14
  dependencies {
12
- classpath "com.android.tools.build:gradle:4.2.2"
15
+ classpath "com.android.tools.build:gradle:7.2.1"
13
16
  // noinspection DifferentKotlinGradleVersion
14
17
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
15
18
  }
@@ -91,9 +94,14 @@ android {
91
94
  repositories {
92
95
  mavenCentral()
93
96
  google()
97
+ maven{
98
+ name 'Staging'
99
+ url 'https://s01.oss.sonatype.org/content/repositories/staging/'
100
+ }
94
101
  }
95
102
 
96
103
  def kotlin_version = getExtOrDefault("kotlinVersion")
104
+ def idwise_sdk_version =project.properties["idwise_sdk_version"]
97
105
 
98
106
  dependencies {
99
107
  // For < 0.71, this will be from the local maven repo
@@ -102,6 +110,7 @@ dependencies {
102
110
  implementation "com.facebook.react:react-native:+"
103
111
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
104
112
  implementation 'com.google.code.gson:gson:2.10.1'
105
- implementation 'com.idwise:android-sdk:4.7.0'
113
+
114
+ implementation "com.idwise:android-sdk:$idwise_sdk_version"
106
115
  }
107
116
 
@@ -1,5 +1,7 @@
1
- IdwiseMobileSdk_kotlinVersion=1.7.10
1
+ IdwiseMobileSdk_kotlinVersion=1.7.0
2
2
  IdwiseMobileSdk_minSdkVersion=21
3
3
  IdwiseMobileSdk_targetSdkVersion=31
4
4
  IdwiseMobileSdk_compileSdkVersion=31
5
5
  IdwiseMobileSdk_ndkversion=21.4.7075529
6
+ # Idwise SDK version
7
+ idwise_sdk_version=4.7.3
@@ -1,6 +1,7 @@
1
1
  require "json"
2
2
 
3
3
  package = JSON.parse(File.read(File.join(__dir__, "package.json")))
4
+ folly_compiler_flags = '-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1 -Wno-comma -Wno-shorten-64-to-32'
4
5
 
5
6
  Pod::Spec.new do |s|
6
7
  s.name = "idwise-react-native-sdk"
@@ -16,14 +17,46 @@ Pod::Spec.new do |s|
16
17
  s.source_files = "ios/**/*.{h,m,mm,swift}"
17
18
  s.static_framework = true
18
19
 
20
+ s.pod_target_xcconfig = {
21
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
22
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
23
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
24
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64",
25
+ "CODE_SIGNING_ALLOWED" => 'NO'
26
+ }
19
27
 
20
- s.preserve_paths = 'ios/IDWiseSDK.xcframework/**/*'
21
- s.vendored_frameworks = 'ios/IDWiseSDK.xcframework'
22
28
 
23
- s.pod_target_xcconfig = {
24
- "DEFINES_MODULE" => "YES",
25
- "OTHER_CPLUSPLUSFLAGS" => "-DRCT_NEW_ARCH_ENABLED=1"
26
- }
27
- install_modules_dependencies(s)
28
-
29
+ s.preserve_paths = 'ios/IDWiseSDK.xcframework/**/*'
30
+ s.xcconfig = { 'OTHER_LDFLAGS' => '-framework IDWiseSDK' }
31
+ s.vendored_frameworks = 'ios/IDWiseSDK.xcframework'
32
+ s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
33
+
34
+ # Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.
35
+ # See https://github.com/facebook/react-native/blob/febf6b7f33fdb4904669f99d795eba4c0f95d7bf/scripts/cocoapods/new_architecture.rb#L79.
36
+ if respond_to?(:install_modules_dependencies, true)
37
+ install_modules_dependencies(s)
38
+ else
39
+ s.dependency "React-Core"
40
+
41
+
42
+ # Don't install the dependencies when we run `pod install` in the old architecture.
43
+ if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
44
+ s.compiler_flags = folly_compiler_flags + " -DRCT_NEW_ARCH_ENABLED=1"
45
+ s.pod_target_xcconfig = {
46
+ "HEADER_SEARCH_PATHS" => "\"$(PODS_ROOT)/boost\"",
47
+ "OTHER_CPLUSPLUSFLAGS" => "-DFOLLY_NO_CONFIG -DFOLLY_MOBILE=1 -DFOLLY_USE_LIBCPP=1",
48
+ "CLANG_CXX_LANGUAGE_STANDARD" => "c++17",
49
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" => "arm64",
50
+ "CODE_SIGNING_ALLOWED" => 'NO'
51
+ }
52
+ s.dependency "React-Codegen"
53
+ s.dependency "RCT-Folly"
54
+ s.dependency "RCTRequired"
55
+ s.dependency "RCTTypeSafety"
56
+ s.dependency "ReactCommon/turbomodule/core"
57
+
58
+
59
+
60
+ end
61
+ end
29
62
  end
@@ -0,0 +1,18 @@
1
+ //
2
+ // IDWise_ios_sdk.h
3
+ // IDWise_ios_sdk
4
+ //
5
+ // Created by Hussein Alshlash on 10.04.2021.
6
+ //
7
+
8
+ #import <Foundation/Foundation.h>
9
+
10
+ //! Project version number for IDWise_ios_sdk.
11
+ FOUNDATION_EXPORT double IDWiseVersionNumber;
12
+
13
+ //! Project version string for IDWise_ios_sdk.
14
+ FOUNDATION_EXPORT const unsigned char IDWiseVersionString[];
15
+
16
+ // In this header, you should import all the public headers of your framework using statements like #import <IDWise_ios_sdk/PublicHeader.h>
17
+
18
+