Skip to content

Commit 6b2ce51

Browse files
committed
chore: android build
1 parent 8425ae3 commit 6b2ce51

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

android/build.gradle

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ def isNewArchitectureEnabled() {
2626
apply plugin: "com.android.library"
2727
apply plugin: "kotlin-android"
2828

29-
if (isNewArchitectureEnabled()) {
30-
apply plugin: "com.facebook.react"
31-
}
29+
// TODO: Getting build error with this block :(
30+
// if (isNewArchitectureEnabled()) {
31+
// apply plugin: "com.facebook.react"
32+
// }
3233

3334
def getExtOrDefault(name) {
3435
return rootProject.ext.has(name) ? rootProject.ext.get(name) : project.properties["TrueSheet_" + name]

example/android/app/src/main/AndroidManifest.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,10 @@
2222
<category android:name="android.intent.category.LAUNCHER" />
2323
</intent-filter>
2424
</activity>
25+
26+
<!-- https://github.com/react-native-maps/react-native-maps/blob/master/docs/installation.md#android -->
27+
<meta-data
28+
android:name="com.google.android.geo.API_KEY"
29+
android:value="AIzaSyBeaou3cjmq_BED6HlTRdg5fSyArUCzoTM" />
2530
</application>
2631
</manifest>

0 commit comments

Comments
 (0)