https://blog.expo.dev/expo-sdk-48-ccb8302e231
npx expo start --reset-cache
press a | open Android
npx @react-native-community/cli@latest init NamaProject
after finished go to NamaProject/android run ./gradlew clean
then ./gradlew build
. On root folder npm start
build android and ios folder
npx expo prebuild
reset gradle, navigate to folder android then type on terminal :
./gradlew clean
./gradlew build
expo check
npx expo install --check
npx expo install --fix
expo instaling npx expo upgrade
or npx install-expo-modules@latest
npx create-expo-app@latest StickerSmash
cd StickerSmash
build configure
eas build:configure
build apk for android
eas build --platform android --profile preview
unzip tar file
execute the /{android-studio}/bin/./studio.sh
after
open second time : cd /{location-android-studio}/bin/.studio or [@username ~ bin ]:$ ./studio
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.CAMERA"/>
<uses-permission android:name="android.permission.INTERNET"/> // make http accessible for api request
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
<uses-permission android:name="android.permission.VIBRATE"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<queries>
<intent>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="https"/>
</intent>
</queries>
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:allowBackup="true"
android:theme="@style/AppTheme"
android:usesCleartextTraffic="true" // make http accessible for api request
android:supportsRtl="true">
<meta-data android:name="expo.modules.updates.ENABLED" android:value="false"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_CHECK_ON_LAUNCH" android:value="ALWAYS"/>
<meta-data android:name="expo.modules.updates.EXPO_UPDATES_LAUNCH_WAIT_MS" android:value="0"/>
<activity android:name=".MainActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout|uiMode" android:launchMode="singleTask" android:windowSoftInputMode="adjustResize" android:theme="@style/Theme.App.SplashScreen" android:exported="true" android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW"/>
<category android:name="android.intent.category.DEFAULT"/>
<category android:name="android.intent.category.BROWSABLE"/>
<data android:scheme="moca"/>
<data android:scheme="com.user_name.app_name"/>
</intent-filter>
</activity>
</application>
</manifest>