@therealitycrafters/react-native-evskit 0.1.3 → 0.1.4
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/EvsKitModule.swift +1 -4
- package/package.json +1 -1
package/ios/EvsKitModule.swift
CHANGED
|
@@ -251,10 +251,7 @@ public class EvsKitModule: Module {
|
|
|
251
251
|
|
|
252
252
|
AsyncFunction("setApiKey") { (base64Key: String) -> Void in
|
|
253
253
|
guard let data = Data(base64Encoded: base64Key) else { return }
|
|
254
|
-
let byteArray =
|
|
255
|
-
for i in 0..<data.count {
|
|
256
|
-
byteArray.set(index: Int32(i), value: Int8(data[i]))
|
|
257
|
-
}
|
|
254
|
+
guard let byteArray = data.toKotlinData() else { return }
|
|
258
255
|
Evs.instance().auth().setApiKey(apiKey: byteArray)
|
|
259
256
|
}
|
|
260
257
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@therealitycrafters/react-native-evskit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "React Native / Expo bridge for Everysight's Maverick SDK (EvsKit + NativeEvsKit)",
|
|
5
5
|
"author": "Patrick Catanzariti",
|
|
6
6
|
"homepage": "https://therealitycrafters.com",
|