temporary fix for pre-release users
This commit is contained in:
parent
9dd694ce2e
commit
2314871246
|
@ -97,7 +97,7 @@ public class PushSubscriptionManager{
|
|||
deviceToken=getPrefs().getString("deviceToken", null);
|
||||
int tokenVersion=getPrefs().getInt("version", 0);
|
||||
if(!TextUtils.isEmpty(deviceToken) && tokenVersion==BuildConfig.VERSION_CODE){
|
||||
registerAllAccountsForPush(false);
|
||||
registerAllAccountsForPush(true); // TODO: revert this before release
|
||||
return;
|
||||
}
|
||||
Log.i(TAG, "tryRegisterFCM: no token found or app was updated. Trying to get push token...");
|
||||
|
|
Loading…
Reference in New Issue