diff --git a/example/android/app/src/debug/AndroidManifest.xml b/example/android/app/src/debug/AndroidManifest.xml
index eb98c01..6c3bd9a 100644
--- a/example/android/app/src/debug/AndroidManifest.xml
+++ b/example/android/app/src/debug/AndroidManifest.xml
@@ -4,6 +4,6 @@
diff --git a/example/android/app/src/main/AndroidManifest.xml b/example/android/app/src/main/AndroidManifest.xml
index 4122f36..c5bd060 100644
--- a/example/android/app/src/main/AndroidManifest.xml
+++ b/example/android/app/src/main/AndroidManifest.xml
@@ -21,5 +21,11 @@
+
+
+
+
diff --git a/example/package.json b/example/package.json
index 1decb7a..c423b53 100644
--- a/example/package.json
+++ b/example/package.json
@@ -7,7 +7,8 @@
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
- "build:android": "cd android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
+ "build:clean": "cd android && ./gradlew clean",
+ "build:android": "cd android && ./gradlew clean && ./gradlew assembleRelease --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a",
"build:ios": "cd ios && xcodebuild -workspace LlmMediapipeExample.xcworkspace -scheme LlmMediapipeExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO"
},
"dependencies": {
diff --git a/example/src/App.tsx b/example/src/App.tsx
index 58637a8..c10206e 100644
--- a/example/src/App.tsx
+++ b/example/src/App.tsx
@@ -48,6 +48,8 @@ function App(): React.JSX.Element {
const llmInference = useLlmInference({
storageType: 'asset',
modelName: 'gemma-2b-it-cpu-int4.bin',
+ // 'gemma-1.1-2b-it-gpu-int4.bin' or the name of the model that
+ // you placed at android/app/src/main/assets/{MODEL_FILE}
});
const onSendPrompt = React.useCallback(async () => {