In 2016 I released an app that used parse (and parse.com) to store some data, it worked really well. I published it on Google Play and I had almost 5k downloads. In 2017 parse.com was shut down. I did not have the time to move to another server so I unpublished it from Google Play. Now in 2018 I want to take it back online. I found that back4app.com is working with parse API. I spent some weeks updating my code and now it is working fine when I run it on Android Studio and let it install the app on my phone. However, yesterday I published a beta version on google play and some of my friends said that it was not working properly. I checked it on my phone and what I noticed is that when I install it directly from google play my back4app connection does not work.
Is there a work around for it? Is it related with permissions? What I do not understand is why it is working perfectly fine in my cell phone when android studio installs it and it is not communication with the server when it is installed directly from google play.
Below I am attaching my gradle hoping that there is something wrong here.
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion '25.0.3'
defaultConfig {
applicationId "package.name"
minSdkVersion 21
targetSdkVersion 26
multiDexEnabled true
versionCode 13
versionName "1.9.2"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
dexOptions {
// Prevent OutOfMemory with MultiDex during the build phase
javaMaxHeapSize "2048"
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// Fancy Button
compile 'com.android.support:appcompat-v7:26.0.0'
compile 'info.hoang8f:fbutton:1.0.5'
// Parse
// Compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.parse:parse-android:1.16.3' //update version to the latest one
compile fileTree(dir: 'libs', include: 'Parse-*.jar')
// AdBuddiz
compile 'com.purplebrain.adbuddiz.sdk:AdBuddiz-Java:3.+'
// Push
compile 'com.parse.bolts:bolts-android:1.+'
compile 'com.google.firebase:firebase-core:10.0.1'
compile 'com.google.firebase:firebase-messaging:10.0.1'
// Pushes Firebase service
apply plugin: 'com.google.gms.google-services'
}
repositories {
maven {
url 'http://repository.adbuddiz.com/maven'
}
maven {
url "http://maven.google.com"
}
jcenter()
}