In my Android app i had made using React-Native I am not being able to use Mobile Data. When I use Wifi it works just fine. According to one programmer pro guard could have been behind the issue but i had dissabled it and the issue still persists
disabling pro guard in android/app/build.gradle
buildTypes {
debug {
signingConfig signingConfigs.debug
}
release {
shrinkResources false
minifyEnabled false
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
def enableProguardInReleaseBuilds = false
One more common query is that it could be because of any http api query. I had checked that and no API call I make is http.
What could be causing the issue. Any help would be appreciated
Disable Pro Guard
Used only http requestes