@qore-id/react-native-qoreid-sdk 2.0.0 → 2.0.2

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/ios/RNQoreIdSdk.h CHANGED
@@ -1,6 +1,14 @@
1
1
  #import <RNQoreIdSdkSpec/RNQoreIdSdkSpec.h>
2
2
  #import <Foundation/Foundation.h>
3
3
 
4
+ // When `use_frameworks!` is used, the generated Swift header is inside ExpoModulesCore module.
5
+ // Otherwise, it's available only locally with double-quoted imports.
6
+ #if __has_include(<RNQoreIdSdk/RNQoreIdSdk-Swift.h>)
7
+ #import <RNQoreIdSdk/RNQoreIdSdk-Swift.h>
8
+ #else
9
+ #import "RNQoreIdSdk-Swift.h"
10
+ #endif
11
+
4
12
  @interface RNQoreIdSdk : NativeRNQoreIdSdkSpecBase <NativeRNQoreIdSdkSpec>
5
13
 
6
14
  @end
@@ -1,13 +1,10 @@
1
1
  #import "RNQoreIdSdk.h"
2
2
  #import <UIKit/UIKit.h>
3
- #import "RNQoreIdSdk-Swift.h"
4
3
 
5
4
  @implementation RNQoreIdSdk {
6
5
  RCTRNQoreIdSdk *qoreIdSdk;
7
6
  }
8
7
 
9
-
10
-
11
8
  - (id) init {
12
9
 
13
10
  if(self = [super init]) {
@@ -26,7 +23,7 @@
26
23
  - (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
27
24
  (const facebook::react::ObjCTurboModule::InitParams &)params
28
25
  {
29
- return std::make_shared<facebook::react::NativeRNQoreIdSdkSpecJSI>(params);
26
+ return std::make_shared<facebook::react::NativeRNQoreIdSdkSpecJSI>(params);
30
27
  }
31
28
 
32
29
  + (NSString *)moduleName
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qore-id/react-native-qoreid-sdk",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "QoreId React Native SDK",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",