-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Llama example to Fabric architecture (#36)
## Description Updated Llama example to new React Native architecture. ### Type of change - [x] Example Update ### Tested on - [x] iOS - [x] Android ### Checklist - [x] I have performed a self-review of my code - [x] I have commented my code, particularly in hard-to-understand areas - [x] I have updated the documentation accordingly - [x] My changes generate no new warnings
- Loading branch information
Showing
69 changed files
with
2,387 additions
and
3,472 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ node_modules/ | |
.expo/ | ||
dist/ | ||
web-build/ | ||
expo-env.d.ts | ||
|
||
# Native | ||
*.orig.* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+5 KB
examples/llama/android/app/src/main/res/drawable-hdpi/splashscreen_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+2.95 KB
examples/llama/android/app/src/main/res/drawable-mdpi/splashscreen_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-58.4 KB
examples/llama/android/app/src/main/res/drawable-xhdpi/splashscreen_image.png
Binary file not shown.
Binary file added
BIN
+7.15 KB
examples/llama/android/app/src/main/res/drawable-xhdpi/splashscreen_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-58.4 KB
examples/llama/android/app/src/main/res/drawable-xxhdpi/splashscreen_image.png
Binary file not shown.
Binary file added
BIN
+12.2 KB
examples/llama/android/app/src/main/res/drawable-xxhdpi/splashscreen_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-58.4 KB
examples/llama/android/app/src/main/res/drawable-xxxhdpi/splashscreen_image.png
Binary file not shown.
Binary file added
BIN
+18.7 KB
examples/llama/android/app/src/main/res/drawable-xxxhdpi/splashscreen_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...pp/src/main/res/drawable/splashscreen.xml → ...n/res/drawable/ic_launcher_background.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> | ||
<item android:drawable="@color/splashscreen_background"/> | ||
<item> | ||
<bitmap android:gravity="center" android:src="@drawable/splashscreen_logo"/> | ||
</item> | ||
</layer-list> |
Binary file removed
BIN
-8.18 KB
examples/llama/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file removed
BIN
-10.1 KB
examples/llama/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
Binary file not shown.
Binary file added
BIN
+4.01 KB
examples/llama/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.webp
Binary file not shown.
Binary file removed
BIN
-5.08 KB
examples/llama/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary file not shown.
Binary file not shown.
File renamed without changes.
Binary file removed
BIN
-6.37 KB
examples/llama/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
Binary file not shown.
Binary file added
BIN
+2.55 KB
examples/llama/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.webp
Binary file not shown.
Binary file removed
BIN
-11.4 KB
examples/llama/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary file not shown.
Binary file added
BIN
+4.43 KB
examples/llama/android/app/src/main/res/mipmap-xhdpi/ic_launcher.webp
Binary file not shown.
File renamed without changes.
Binary file removed
BIN
-13.9 KB
examples/llama/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
Binary file not shown.
Binary file added
BIN
+5.54 KB
examples/llama/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file removed
BIN
-17.8 KB
examples/llama/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary file not shown.
Binary file added
BIN
+7.17 KB
examples/llama/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.webp
Binary file not shown.
File renamed without changes.
Binary file removed
BIN
-21.9 KB
examples/llama/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
Binary file not shown.
Binary file added
BIN
+8.88 KB
examples/llama/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
Binary file not shown.
Binary file removed
BIN
-24.6 KB
examples/llama/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary file not shown.
Binary file added
BIN
+9.87 KB
examples/llama/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
Binary file not shown.
File renamed without changes.
Binary file removed
BIN
-30 KB
examples/llama/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
Binary file not shown.
Binary file added
BIN
+12.2 KB
examples/llama/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
examples/llama/android/gradle/wrapper/gradle-wrapper.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
examples/llama/android/react-settings-plugin/build.gradle.kts
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...s/llama/android/react-settings-plugin/src/main/kotlin/expo/plugins/ReactSettingsPlugin.kt
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { registerRootComponent } from 'expo'; | ||
|
||
import App from './App'; | ||
|
||
// registerRootComponent calls AppRegistry.registerComponent('main', () => App); | ||
// It also ensures that whether you load the app in Expo Go or in a native build, | ||
// the environment is set up appropriately | ||
registerRootComponent(App); |
Oops, something went wrong.