diff --git a/android/src/main/java/com/rnmovableink/RNMovableInkModule.kt b/android/src/main/java/com/rnmovableink/RNMovableInkModule.kt index 012c37a..6321a9b 100644 --- a/android/src/main/java/com/rnmovableink/RNMovableInkModule.kt +++ b/android/src/main/java/com/rnmovableink/RNMovableInkModule.kt @@ -104,7 +104,7 @@ class RNMovableInkModule(reactContext: ReactApplicationContext) : fun ReadableArray.toStringList(): List { val stringList = mutableListOf() - for (i in 0 until size) { + for (i in 0 until size()) { stringList.add(getString(i)) } return stringList diff --git a/example/src/App.tsx b/example/src/App.tsx index 4362cc7..27142cb 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -11,7 +11,7 @@ export default function App() { // Make sure to call RNMovableInk.start when your app starts RNMovableInk.start(); - RNMovableInk.setMIU("00000000-00000000-00000000-00000000") + RNMovableInk.setMIU('00000000-00000000-00000000-00000000'); // Get the deep link used to open the app const getInitialURL = async () => { diff --git a/package.json b/package.json index e68bcfe..4fc67bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@movable/react-native-sdk", - "version": "1.5.2", + "version": "1.5.3", "description": "MovableInk React Native SDK", "main": "lib/commonjs/index", "module": "lib/module/index",