Skip to content
Next
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Minds Mobile
Project
Project
Details
Activity
Releases
Dependency List
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
128
Issues
128
List
Boards
Labels
Service Desk
Milestones
Merge Requests
13
Merge Requests
13
Packages
Packages
List
Container Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Minds
Minds Mobile
Commits
19a89c9f
Commit
19a89c9f
authored
20 hours ago
by
Martin Santangelo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(feat) autodetect play store version
parent
72f56167
feat/autodetect-app-version
1 merge request
!285
[Sprint/KiltedKoala] (feat) autodetect app version and playstore flag
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
Config.js
src/config/Config.js
+3
-1
No files found.
src/config/Config.js
View file @
19a89c9f
...
...
@@ -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
'
;
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment