Skip to content

Commit

Permalink
Prod
Browse files Browse the repository at this point in the history
  • Loading branch information
OhMyGuus committed Jan 5, 2021
1 parent dffcee4 commit 4aea82c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
6 changes: 1 addition & 5 deletions android/app/src/main/assets/capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@
}
},
"overrideUserAgent": "CrewLink/1.2.1 (win32)",
"cordova": {},
"server": {
"url": "https://192.168.1.236:8100",
"cleartext": true
}
"cordova": {}
}
6 changes: 1 addition & 5 deletions capacitor.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@
}
},
"overrideUserAgent": "CrewLink/1.2.1 (win32)",
"cordova": {},
"server": {
"url": "https://192.168.1.236:8100",
"cleartext": true
}
"cordova": {}
}
2 changes: 1 addition & 1 deletion src/app/main/main.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class MainPage implements OnInit {
}

async requestPermissions(): Promise<boolean> {
if (this.platform.is('cordova')) {
if (this.platform.is('cordova') || this.platform.is('android') || this.platform.is('mobile')) {
const PERMISSIONS_NEEDED = [
'android.permission.FOREGROUND_SERVICE',
this.androidPermissions.PERMISSION.BLUETOOTH,
Expand Down

0 comments on commit 4aea82c

Please sign in to comment.