@rownd/react-native 2.11.6 → 3.0.1
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 +18 -32
- package/android/build.gradle +1 -1
- package/package.json +1 -1
- package/rownd-react-native.podspec +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,7 @@ npx expo install expo-build-properties
|
|
|
38
38
|
{
|
|
39
39
|
"expo": {
|
|
40
40
|
"plugins": [
|
|
41
|
+
"@rownd/react-native",
|
|
41
42
|
[
|
|
42
43
|
"expo-build-properties",
|
|
43
44
|
{
|
|
@@ -54,30 +55,34 @@ npx expo install expo-build-properties
|
|
|
54
55
|
}
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
4.
|
|
58
|
-
|
|
59
|
-
5. (optional) Enable Apple sign-in for iOS in your `app.json` file.
|
|
58
|
+
4. (optional) Enable Apple sign-in for iOS in your `app.json` file.
|
|
60
59
|
|
|
61
60
|
```json
|
|
62
61
|
{
|
|
63
|
-
"
|
|
64
|
-
"
|
|
62
|
+
"expo": {
|
|
63
|
+
"ios": {
|
|
64
|
+
"usesAppleSignIn": true
|
|
65
|
+
}
|
|
65
66
|
}
|
|
66
67
|
}
|
|
67
68
|
```
|
|
68
69
|
|
|
69
|
-
|
|
70
|
+
5. (optional) Enable Google sign-in for iOS. Add your Google IOS Client ID client as a URL Scheme in your `app.json` file.
|
|
70
71
|
|
|
71
72
|
```json
|
|
72
73
|
{
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
{
|
|
76
|
-
"
|
|
77
|
-
|
|
74
|
+
"expo": {
|
|
75
|
+
"ios": {
|
|
76
|
+
"infoPlist": {
|
|
77
|
+
"CFBundleURLTypes": [
|
|
78
|
+
{
|
|
79
|
+
"CFBundleURLSchemes": [
|
|
80
|
+
"com.googleusercontent.apps.xxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxx"
|
|
81
|
+
]
|
|
82
|
+
}
|
|
78
83
|
]
|
|
79
84
|
}
|
|
80
|
-
|
|
85
|
+
}
|
|
81
86
|
}
|
|
82
87
|
}
|
|
83
88
|
```
|
|
@@ -127,26 +132,7 @@ public class MainActivity extends ReactActivity {
|
|
|
127
132
|
platform :ios, '14.0'
|
|
128
133
|
```
|
|
129
134
|
|
|
130
|
-
2.
|
|
131
|
-
|
|
132
|
-
```
|
|
133
|
-
dynamic_frameworks = ['Sodium']
|
|
134
|
-
pre_install do |installer|
|
|
135
|
-
installer.pod_targets.each do |pod|
|
|
136
|
-
if dynamic_frameworks.include?(pod.name)
|
|
137
|
-
puts "Overriding the dynamic_framework? method for #{pod.name}"
|
|
138
|
-
def pod.dynamic_framework?;
|
|
139
|
-
true
|
|
140
|
-
end
|
|
141
|
-
def pod.build_type;
|
|
142
|
-
Pod::BuildType.dynamic_framework
|
|
143
|
-
end
|
|
144
|
-
end
|
|
145
|
-
end
|
|
146
|
-
end
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
3. Install the Rownd pod and it's dependencies
|
|
135
|
+
2. Install the Rownd pod and it's dependencies
|
|
150
136
|
|
|
151
137
|
```sh
|
|
152
138
|
cd ios && pod install
|
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.6.
|
|
139
|
+
implementation 'io.rownd:android:2.6.6'
|
|
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'
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ Pod::Spec.new do |s|
|
|
|
17
17
|
s.source_files = "ios/**/*.{h,m,mm,swift}"
|
|
18
18
|
|
|
19
19
|
s.dependency "React-Core"
|
|
20
|
-
s.dependency "Rownd", "~>
|
|
20
|
+
s.dependency "Rownd", "~> 3.0.1"
|
|
21
21
|
|
|
22
22
|
# Don't install the dependencies when we run `pod install` in the old architecture.
|
|
23
23
|
if ENV['RCT_NEW_ARCH_ENABLED'] == '1' then
|