chemerisuk / cordova-plugin-firebase-analytics

Cordova plugin for Firebase Analytics
MIT License
157 stars 308 forks source link

hasPermission causes iOS to hang on splash screen #56

Closed markterrill closed 6 years ago

markterrill commented 6 years ago

Hi, apologies in advance for not having a great deal of debug information, but this may ease frustration for someone else.

Ionic 3 hangs on splash screen if hasPermission() is called. The offending code in my app.component.ts:

this.firebaseNative.hasPermission()
                .then(isEnabled => {

                    console.log("app.component firebasenative entry");

                    if (isEnabled){
                        this.logger.debug("firebase notification IS ENABLED in permissions");
                    } else {
                        this.logger.warn("firebase notification is NOT ENABLED in permissions");
                    }

                })
                .catch(error => console.error('Firebase hasPermission error token' + JSON.stringify(error)));;

I spent hours removing and re-adding the iOS platform, searching for build issues etc. I ended up stepping through the code with console.log statements as on iOS its too fast to get safari inspector up in time (let me know if theres a better option). I ended up seeing that the console log for 'app.component firebasenative entry' didn't fire, and the catch wasn't firing either. Simply commented it out and all good. Hope this helps, apologies in advance for not having more debug information but that's the reason why it took me so long to find.

markterrill commented 6 years ago

{ "name": "emergencytowelcompany", "author": "emergencytowelcompany", "homepage": "https://emergencytowelcompany.com/", "private": true, "scripts": { "clean": "ionic-app-scripts clean", "build": "ionic-app-scripts build", "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts serve", "watch": "ionic-app-scripts watch", "test": "gulp validate" }, "dependencies": { "@angular/common": "^5.0.2", "@angular/compiler": "^5.0.2", "@angular/compiler-cli": "^5.0.2", "@angular/core": "^5.0.2", "@angular/forms": "^5.0.2", "@angular/http": "^5.0.2", "@angular/platform-browser": "^5.0.2", "@angular/platform-browser-dynamic": "^5.0.2", "@ionic-native/ble": "^4.1.0", "@ionic-native/camera": "^4.4.2", "@ionic-native/core": "^4.4.2", "@ionic-native/device": "^4.4.2", "@ionic-native/facebook": "^4.4.0", "@ionic-native/fcm": "^4.4.2", "@ionic-native/file": "^4.0.0", "@ionic-native/firebase": "^4.4.2", "@ionic-native/google-analytics": "^4.1.0", "@ionic-native/image-picker": "^4.4.2", "@ionic-native/local-notifications": "^4.4.2", "@ionic-native/media": "^4.4.2", "@ionic-native/push": "^4.4.0", "@ionic-native/spinner-dialog": "^4.1.0", "@ionic-native/splash-screen": "^4.1.1", "@ionic-native/status-bar": "^4.1.1", "@ionic-native/toast": "^4.1.0", "@ionic/storage": "^2.0.1", "@nsalaun/ng-logger": "^5.0.0", "ajv": "^5.5.0", "android-versions": "^1.2.1", "angular2-moment": "^1.7.0", "angularfire2": "5.0.0-rc.4", "async": "^2.5.0", "chart.js": "^2.7.0", "cordova-android": "^6.3.0", "cordova-android-play-services-gradle-release": "^1.1.4", "cordova-custom-config": "^4.0.2", "cordova-plugin-app-event": "^1.2.1", "cordova-plugin-ble-central": "^1.1.4", "cordova-plugin-browsertab": "^0.2.0", "cordova-plugin-buildinfo": "^2.0.1", "cordova-plugin-camera": "^3.0.0", "cordova-plugin-compat": "^1.2.0", "cordova-plugin-customurlscheme": "^4.3.0", "cordova-plugin-device": "^1.1.7", "cordova-plugin-facebook4": "^1.9.1", "cordova-plugin-file": "^5.0.0", "cordova-plugin-firebase": "^0.1.24", "cordova-plugin-flashlight": "^3.2.0", "cordova-plugin-inappbrowser": "^1.7.2", "cordova-plugin-ionic-webview": "^1.1.16", "cordova-plugin-keyboard": "^1.2.0", "cordova-plugin-media": "^4.0.0", "cordova-plugin-native-spinner": "^1.1.3", "cordova-plugin-push": "0.0.1", "cordova-plugin-spinner-dialog": "^1.3.1", "cordova-plugin-splashscreen": "^4.1.0", "cordova-plugin-statusbar": "^2.3.0", "cordova-plugin-vibration": "^2.1.6", "cordova-plugin-whitelist": "^1.3.3", "cordova-plugin-x-toast": "^2.6.0", "cordova-universal-links-plugin": "git+https://github.com/aramando/cordova-universal-links-plugin.git#35b3ed7e9a0310b12f1ac92a5159b21ce50eee57", "d3": "^4.10.0", "de.appplant.cordova.plugin.local-notification": "^0.8.5", "firebase": "^4.2.0", "ionic-angular": "^3.7.1", "ionic-plugin-keyboard": "^2.2.1", "ionicons": "~3.0.0", "lodash": "^4.17.4", "markdown": "^0.5.0", "moment": "^2.18.1", "ng2-charts": "^1.6.0", "ng2-device-detector": "^1.0.0", "rxjs": "~5.5.0", "setimmediate": "^1.0.5", "siphash": "^1.0.3", "softap-setup-ts": "^1.2.0", "sw-toolbox": "3.6.0", "sweetalert2": "^7.0.0", "zone.js": "0.8.18", "cordova-ios": "~4.5.4" }, "devDependencies": { "@ionic/app-scripts": "3.1.4", "@types/d3": "~4.11.0", "gulp": "^3.9.1", "gulp-bower": "0.0.13", "gulp-clean-css": "^3.9.0", "gulp-concat": "^2.6.1", "gulp-minify-css": "^1.2.4", "gulp-rename": "^1.2.2", "gulp-sass": "^3.1.0", "ionic": "3.19.0", "typescript": "^2.6.0" }, "cordovaPlugins": [ "cordova-plugin-whitelist", "cordova-plugin-console", "cordova-plugin-statusbar", "cordova-plugin-device", "cordova-plugin-splashscreen", "ionic-plugin-keyboard" ], "cordovaPlatforms": [], "description": "ionicTemplate2: An Ionic project", "config": { "ionic_source_map": "source-map" }, "pre-push#master": [ "test" ], "cordova": { "plugins": { "cordova-plugin-whitelist": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-flashlight": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-vibration": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-inappbrowser": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-statusbar": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-device": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-splashscreen": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "ionic-plugin-keyboard": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-x-toast": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-spinner-dialog": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-buildinfo": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-browsertab": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-android-play-services-gradle-release": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-keyboard": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-media": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-file": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-native-spinner": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-ble-central": { "PLAY_SERVICES_VERSION": "11.+" }, "cordova-plugin-facebook4": { "APP_ID": "202957823523733", "APP_NAME": "emergencytowelcompany" }, "cordova-plugin-camera": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-compat": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "de.appplant.cordova.plugin.local-notification": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-ionic-webview": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-customurlscheme": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-firebase": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-plugin-app-event": { "PLAY_SERVICES_VERSION": "11.+", "PHOTOLIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "PHOTO_LIBRARY_USAGE_DESCRIPTION": "Users can customise their Pit status background image", "URL_SCHEME": "io.emergencytowelcompany.app", "ANDROID_SCHEME": " ", "ANDROID_HOST": " ", "ANDROID_PATHPREFIX": "/", "MICROPHONE_USAGE_DESCRIPTION": " ", "DEEPLINK_SCHEME": "https", "DEEPLINK_HOST": "example.com", "ANDROID_PATH_PREFIX": "/", "ANDROID_2_PATH_PREFIX": "/", "ANDROID_3_PATH_PREFIX": "/", "ANDROID_4_PATH_PREFIX": "/", "ANDROID_5_PATH_PREFIX": "/", "DEEPLINK_2_SCHEME": " ", "DEEPLINK_2_HOST": " ", "DEEPLINK_3_SCHEME": " ", "DEEPLINK_3_HOST": " ", "DEEPLINK_4_SCHEME": " ", "DEEPLINK_4_HOST": " ", "DEEPLINK_5_SCHEME": " ", "DEEPLINK_5_HOST": " " }, "cordova-universal-links-plugin": {} }, "platforms": [ "android", "ios" ] } }

chemerisuk commented 6 years ago

@markterrill on iOS permission dialog always blocks the main thread. This is how it works.