Skip to content

Commit

Permalink
Modify build json with production server
Browse files Browse the repository at this point in the history
  • Loading branch information
dedenbangkit committed Jan 5, 2024
1 parent 9e767d5 commit c493775
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions app/eas.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
"version": ">= 3.15.0"
},
"build": {
"preview": {
"distribution": "internal"
},
"development": {
"distribution": "internal",
"android": {
"buildType": "apk"
}
Expand All @@ -14,6 +18,7 @@
}
},
"production": {
"distribution": "internal",
"android": {
"buildType": "apk"
}
Expand Down
2 changes: 1 addition & 1 deletion app/src/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import build_json from './build.json';

const defaultBuildParams = {
...build_json,
serverURL: SERVER_URL,
serverURL: 'https://rtmis.akvotest.org/api/v1/device',
};

export default defaultBuildParams;
2 changes: 1 addition & 1 deletion app/src/build.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"authenticationType": ["code_assignment", "username", "password"],
"serverURL": null,
"serverURL": "https://rtmis.akvotest.org/api/device",
"debugMode": false,
"dataSyncInterval": 1,
"errorHandling": true,
Expand Down

0 comments on commit c493775

Please sign in to comment.