@screeb/react-native 2.0.10 → 2.0.11
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/README.md +4 -0
- package/ios/ScreebModule.swift +1 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,10 @@ A react-native module to integrate Screeb mobile sdk for Android and/or iOS.
|
|
|
13
13
|
|
|
14
14
|
[See here.](https://github.com/ScreebApp/developers/wiki/React-Native-SDK-install)
|
|
15
15
|
|
|
16
|
+
## Changelog
|
|
17
|
+
|
|
18
|
+
[See here.](https://www.notion.so/screeb/ReactNative-SDK-30e8dc27fa7a4dea979084d83e5140c3)
|
|
19
|
+
|
|
16
20
|
## Run example
|
|
17
21
|
|
|
18
22
|
```sh
|
package/ios/ScreebModule.swift
CHANGED
|
@@ -28,11 +28,7 @@ class ScreebModule: RCTEventEmitter {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
DispatchQueue.main.async {
|
|
31
|
-
|
|
32
|
-
Screeb.initSdk(context: controller, channelId: channelId, identity: userId_, visitorProperty: map, hooks: mapHooks)
|
|
33
|
-
} else {
|
|
34
|
-
print("Screeb : error init, could not find rootViewController")
|
|
35
|
-
}
|
|
31
|
+
Screeb.initSdk(context: nil, channelId: channelId, identity: userId_, visitorProperty: map, hooks: mapHooks)
|
|
36
32
|
}
|
|
37
33
|
}
|
|
38
34
|
|