Closed bibhuti9 closed 1 year ago
Use this code for android +11 version
<queries>
<package android:name="com.google.android.youtube" />
<package android:name="com.facebook.katana" />
<package android:name="com.facebook.orca" />
<package android:name="com.facebook.mlite" />
<package android:name="com.facebook.lite" />
<package android:name="org.telegram.messenger" />
<package android:name="com.whatsapp" />
<package android:name="com.instagram.android" />
</queries>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.technobot.quotesdaily">
<queries>
<package android:name="com.google.android.youtube" />
<package android:name="com.facebook.katana" />
<package android:name="com.facebook.orca" />
<package android:name="com.facebook.mlite" />
<package android:name="com.facebook.lite" />
<package android:name="org.telegram.messenger" />
<package android:name="com.whatsapp" />
<package android:name="com.instagram.android" />
</queries>
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_MEDIA_IMAGES" />
<uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="com.google.android.gms.permission.AD_ID"/>
<application
android:name=".MainApplication"
android:label="@string/app_name"
android:icon="@mipmap/bootsplash_logo"
android:roundIcon="@mipmap/bootsplash_logo"
android:allowBackup="false"
android:theme="@style/AppTheme">
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:grantUriPermissions="true"
android:exported="false">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/filepaths" />
</provider>
<activity
android:name=".MainActivity"
android:label="@string/app_name"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|screenSize|smallestScreenSize|uiMode"
android:launchMode="singleTask"
android:windowSoftInputMode="adjustResize"
android:exported="true"
android:screenOrientation="portrait"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.facebook.ads.InterstitialAdActivity"
android:configChanges="keyboardHidden|orientation" />
</application>
</manifest>
Steps to reproduce
{ "name": "**", "version": "0.0.1", "private": true, "scripts": { "android-debug": "cd ./android && ./gradlew clean && ./gradlew app:assembleDebug && ./gradlew installDebug", "android-staging": "cd ./android && ./gradlew clean && ./gradlew app:assembleStaging && ./gradlew installStaging", "android-release": "cd ./android && ./gradlew clean && ./gradlew app:assembleRelease && ./gradlew installRelease", "android-AAB": "cd ./android && ./gradlew clean && ./gradlew bundleRelease", "start": "react-native start --reset-cache", "test": "jest", "lint": "eslint .", "clean": "react-native-clean-project", "pretty": "prettier --write \".//*.{js,jsx,ts,tsx,json}\"" }, "dependencies": { "@gorhom/bottom-sheet": "4", "@react-native-async-storage/async-storage": "^1.18.1", "@react-native-camera-roll/camera-roll": "^5.3.1", "@react-native-clipboard/clipboard": "^1.11.2", "@react-native-masked-view/masked-view": "^0.2.9", "@react-navigation/native": "^6.1.6", "@react-navigation/stack": "^6.3.16", "@rneui/base": "^4.0.0-rc.7", "@rneui/themed": "^4.0.0-rc.7", "axios": "^1.3.4", "lodash": "^4.17.21", "lottie-react-native": "^5.1.5", "mobx": "^6.9.0", "mobx-react": "^7.6.0", "mobx-state-tree": "^5.1.8", "numbro": "^2.3.6", "react": "18.1.0", "react-native": "0.70.6", "react-native-action-button": "^2.8.5", "react-native-config": "^1.5.0", "react-native-flash-message": "^0.4.0", "react-native-floating-action": "^1.22.0", "react-native-fs": "^2.20.0", "react-native-gesture-handler": "^2.9.0", "react-native-google-mobile-ads": "9.1.1", "react-native-image-colors": "^1.5.2", "react-native-image-crop-picker": "^0.39.0", "react-native-keyboard-aware-scroll-view": "^0.9.5", "react-native-paper": "^5.7.0", "react-native-permissions": "^3.8.0", "react-native-push-notification": "^8.1.1", "react-native-raw-bottom-sheet": "^2.2.0", "react-native-reanimated": "2.13.0", "react-native-safe-area-context": "^4.5.1", "react-native-screens": "^3.20.0", "react-native-share": "7.0.2", "react-native-tts": "^4.1.0", "react-native-uuid": "^2.0.1", "react-native-vector-icons": "^9.2.0", "react-native-view-shot": "^3.6.0" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/runtime": "^7.12.5", "@react-native-community/eslint-config": "^2.0.0", "@tsconfig/react-native": "^3.0.0", "@types/jest": "^29.5.1", "@types/react": "^18.0.37", "@types/react-test-renderer": "^18.0.0", "babel-jest": "^26.6.3", "eslint": "^7.32.0", "jest": "^26.6.3", "metro-config": "^0.76.2", "metro-react-native-babel-preset": "0.72.3", "patch-package": "^6.5.1", "react-native-clean-project": "^4.0.1", "react-test-renderer": "18.1.0", "typescript": "^5.0.4" }, "jest": { "preset": "react-native" } }