Commit 19a89c9f authored by Martin Santangelo's avatar Martin Santangelo

(feat) autodetect play store version

1 merge request!285[Sprint/KiltedKoala] (feat) autodetect app version and playstore flag
......@@ -2,6 +2,8 @@ import {
Platform
} from 'react-native';
import DeviceInfo from 'react-native-device-info';
// export const MINDS_URI = 'https://www.minds.com/';
// export const MINDS_URI = 'http://dev.minds.io/';
......@@ -58,4 +60,4 @@ export const MINDS_DEEPLINK = [
];
// IF TRUE COMMENT THE SMS PERMISSIONS IN ANDROID MANIFEST TOO!!!
export const GOOGLE_PLAY_STORE = false;
export const GOOGLE_PLAY_STORE = DeviceInfo.getBuildNumber() < 1050000000 && Platform.OS == 'android';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment