@rownd/react-native 2.8.2 → 2.8.3
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 +15 -0
- package/android/build.gradle +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,6 +32,21 @@ cd android && ./gradlew build
|
|
|
32
32
|
|
|
33
33
|
3. Check and update your ProGuard config using [the rules from our Android SDK](https://github.com/rownd/android/blob/main/README.md#proguard-config).
|
|
34
34
|
|
|
35
|
+
4. Only required for Google Sign-in: Add a Rownd plugin initializer to your MainActivity file. File: *android/app/src/main/java/.../MainActivity.java
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
import android.os.Bundle;
|
|
39
|
+
import com.reactnativerowndplugin.RowndPluginPackage;
|
|
40
|
+
|
|
41
|
+
public class MainActivity extends ReactActivity {
|
|
42
|
+
@Override
|
|
43
|
+
protected void onCreate(Bundle savedInstanceState) {
|
|
44
|
+
super.onCreate(savedInstanceState);
|
|
45
|
+
RowndPluginPackage.preInit(this);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
```
|
|
49
|
+
|
|
35
50
|
### iOS
|
|
36
51
|
|
|
37
52
|
1. Ensure iOS version is at least 14. File: *ios/Podfile*
|
package/android/build.gradle
CHANGED
|
@@ -136,7 +136,7 @@ dependencies {
|
|
|
136
136
|
//noinspection GradleDynamicVersion
|
|
137
137
|
implementation "com.facebook.react:react-native:+"
|
|
138
138
|
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
|
139
|
-
implementation 'io.rownd:android:2.3.
|
|
139
|
+
implementation 'io.rownd:android:2.3.2'
|
|
140
140
|
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.3.2"
|
|
141
141
|
implementation 'androidx.compose.ui:ui-unit:1.3.0'
|
|
142
142
|
implementation 'androidx.compose.ui:ui-graphics:1.3.0'
|