I am testing my cordova app via Xcode simulator on multiple phone types running various versions of 9x through 11x. The app installs and works as intended on all devices running 10x and 11x but is not working on devices running 9x (specifically 9.3). On 9x devices, my app splash screen shows up and then the screen goes white.
In Xcode console I get zero errors or warnings - from a console perspective it just looks like a successful install. However, when trying to access Safari -> Develop -> Simulator - the app is not appearing as running so I can't view anything in Safari. I have no idea what to look for or what could be causing this. Any ideas or thoughts as to where/what to look for? This is consistently happening on any simulator device running 9.3 (5s, 6, 6 plus, 6s, 6s plus)
My app is running:
Cordova 4.5.0
Ionic: 1.7.14
cocoapods 1.3.1
And my installed plugins:
cl.rmd.cordova.dialoggps 0.0.2 "DialogGPS"
com.lampa.startapp 0.1.4 "startApp"
com.ludei.webview.plus 2.3.0 "Webview+"
com.peerio.cordova.plugin.carrier 1.0.1 "Carrier"
com.phonegap.plugins.nativesettingsopener 1.0.1 "Native settings"
com.vliesaputra.deviceinformation 1.0.1 "DeviceInformation"
cordova-instagram-plugin 0.5.5 "Instagram"
cordova-plugin-admobpro 2.29.22 "AdMob Plugin Pro"
cordova-plugin-appavailability 0.4.2 "AppAvailability"
cordova-plugin-appinfo 2.1.2 "AppInfo Plugin"
cordova-plugin-apprate 1.3.0 "AppRate"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-console 1.1.0 "Console"
cordova-plugin-device 1.1.4 "Device"
cordova-plugin-device-motion 1.2.5 "Device Motion"
cordova-plugin-device-orientation 1.0.7 "Device Orientation"
cordova-plugin-dialogs 1.3.3 "Notification"
cordova-plugin-email 1.2.6 "EmailComposer"
cordova-plugin-extension 1.5.2 "Cordova Plugin Extension"
cordova-plugin-fastrde-checkgps 1.0.0 "checkGPS"
cordova-plugin-file 4.3.3 "File"
cordova-plugin-firebase 0.1.24 "Google Firebase Plugin"
cordova-plugin-geolocation 1.0.1 "Geolocation"
cordova-plugin-globalization 1.0.7 "Globalization"
cordova-plugin-inappbrowser 1.7.1 "InAppBrowser"
cordova-plugin-network-information 1.3.3 "Network Information"
cordova-plugin-queries-schemes 0.1.1 "App Queries Strings"
cordova-plugin-request-location-accuracy 2.2.2 "Request Location Accuracy"
cordova-plugin-sim 1.3.3 "SIM"
cordova-plugin-splashscreen 4.0.3 "Splashscreen"
cordova-plugin-statusbar 2.2.1 "StatusBar"
cordova-plugin-vibration 2.1.5 "Vibration"
cordova-plugin-whitelist 1.3.1 "Whitelist"
cordova-sms-plugin 0.1.11 "Cordova SMS Plugin"
cordova-universal-clipboard 0.1.0 "Clipboard"
cordova.plugins.diagnostic 3.7.1 "Diagnostic"
ionic-plugin-keyboard 2.2.1 "Keyboard"
On a side note, it would be easy to just ignore 9x and keep my app at 10x/11x, however, nearly 10% of the iOS install base is still running iOS 9x - thats a pretty significant user base to ignore.
Related
I have been plagued by a nasty issue using NGX videogular + Ionic 6 (Angular) on my Android app for more than 2 months now.
In the APP on the device, something really weird happens.
The video plays properly for a few seconds.
After sometime, the video frame freezes completely. The video playing may/not resume. All this while, the audio is playing smoothly. I, initially, was under the impression that the Video was buffering hence the frozen frames. But that cant be so since the audio is streaming smoothly.
BY THE WAY, THIS HAPPENS ON A GIGABIT WIFI CONNECTION AS WELL AS 4G NETWORK
However, when the video is playing, if you scroll the page, the video frames play as long as the scroll continues. The moment that we stop the scroll, the video freezes again. All this while, the audio is playing smoothly.
Click here to view the video
We reviewed the installed plugins
es6-promise-plugin
cordova-plugin-music-controls2
cordova-plugin-file-transfer
cordova-plugin-device
cordova-plugin-media
cordova-plugin-background-mode
cordova-plugin-ionic-webview
cordova-plugin-x-socialsharing
cordova-plugin-ionic-keyboard
cordova-plugin-appminimize
cordova-plugin-whitelist
cordova-plugin-statusbar
cordova-plugin-inappbrowser
cordova-plugin-androidx-adapter
cordova-plugin-androidx
cordova-plugin-splashscreen
cordova-plugin-firebasex
cordova-plugin-advanced-http
ionic-plugin-deeplinks
cordova-plugin-screen-orientation
cordova-plugin-filepath
cordova-clipboard
cordova-plugin-app-version
cordova-plugin-network-information
cordova-plugin-file
Cordova Info output
Cordova Packages:
cli: 10.0.0
common: 4.0.2
create: 3.0.0
lib: 10.0.0
common: 4.0.2
fetch: 3.0.1
serve: 4.0.0
Project Installed Platforms:
android: 11.0.0
Project Installed Plugins:
com.razorpay.cordova: 0.16.1
cordova-clipboard: 1.3.0
cordova-plugin-advanced-http: 3.3.1
cordova-plugin-androidx-adapter: 1.1.3
cordova-plugin-androidx: 3.0.0
cordova-plugin-app-version: 0.1.14
cordova-plugin-appminimize: 1.0.1
cordova-plugin-background-mode: 0.7.3
cordova-plugin-device: 2.0.2
cordova-plugin-file-transfer: 1.7.1
cordova-plugin-file: 6.0.2
cordova-plugin-filepath: 1.6.0
cordova-plugin-firebasex: 16.0.0
cordova-plugin-inappbrowser: 5.0.0
cordova-plugin-ionic-keyboard: 2.2.0
cordova-plugin-ionic-webview: 5.0.0
cordova-plugin-media: 5.0.4
cordova-plugin-music-controls2: 3.0.7
cordova-plugin-network-information: 3.0.0
cordova-plugin-screen-orientation: 3.0.2
cordova-plugin-splashscreen: 5.0.2
cordova-plugin-statusbar: 2.4.2
cordova-plugin-whitelist: 1.3.5
cordova-plugin-x-socialsharing: 6.0.4
es6-promise-plugin: 4.2.2
ionic-plugin-deeplinks: 1.0.22
Environment:
OS: Ubuntu 22.04.1 LTS (linux 5.15.0-56-generic) x64
Node: v16.15.1
npm: 8.11.0
Click here to view the video
I have created a new Ionic 4 menu template app and then I have installed the following plugin with deps. using the CLI command
ionic cordova add https://github.com/stevef51/cordova-ios-external-accessories
However when I try ionic cordova prepare ios, I am presented the following error.
ERROR in src/app/home/home.page.ts:25:39 - error TS2339: Property 'iOSExternalAccessory' does not exist on type 'CordovaPlugins'.
25 var pluginAPI = cordova.plugins.iOSExternalAccessory;
~~~~~~~~~~~~~~~~~~~~
[ERROR] An error occurred while running subprocess ng.
When I run the command
ionic cordova plugin list, I can see it installed
com.virtualmgr.iOSExternalAccessory 1.0.0 "iOSExternalAccessory"
cordova-plugin-ble-central 1.2.2 "BLE"
cordova-plugin-bluetooth-serial 0.4.7 "Bluetooth Serial"
cordova-plugin-bluetoothle 4.5.5 "Bluetooth LE"
cordova-plugin-compat 1.2.0 "Compat"
cordova-plugin-device 2.0.2 "Device"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
The code is dead simple: a click event, if I take it out the BLE code works just fine, however I am forced to use this plugin as the handheld scanner I am using does not support BLE as it does not show up in the list of accessories when I scan for BLE devices.
scanForDevices(){
var pluginAPI = cordova.plugins.iOSExternalAccessory;
this.ble.scan([], 5).subscribe(device => {
console.log(JSON.stringify(device));
});
}
I have made contact with the developer of the plugin, he has no Ionic experience, unfortunately.
Any and all advice would be appreciated.
I have worked it out.
I was missing the declare let cordova: any; at the top of my file.
i am added kapsel plugins to my ionic app.and generated build and installed apk in app.i am getting this error
web page at http://localhost/smp/ui/iab.html could not be loaded because:
net::ERR_CONNECTION_REFUSED
ionic cordova plugin
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-ionic-keyboard 2.1.3 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 4.1.1 "cordova-plugin-ionic-webview"
cordova-plugin-splashscreen 5.0.2 "Splashscreen"
cordova-plugin-statusbar 2.4.2 "StatusBar"
cordova-plugin-whitelist 1.3.3 "Whitelist"
kapsel-plugin-authproxy 4.2.8 "AuthProxy"
kapsel-plugin-corelibs 4.2.8 "CoreLibs"
kapsel-plugin-i18n 4.2.8 "i18n"
kapsel-plugin-inappbrowser 4.2.8 "InAppBrowser"
kapsel-plugin-logon 4.2.8 "Logon"
kapsel-plugin-ui5 4.2.8 "ui5"
Please find attachment
https://odsol-my.sharepoint.com/:i:/g/personal/gsreddy_ondevice_co_uk/EVT4LR3rt55Jk3IyCiLNHO8Bkd8rxYZnFAdzAw2wbcaolA?e=HQgvC8
Normally I would expect to see a port number next to the localhost url like the default 8100:
http://localhost:8100/
Have you hardcoded the wrong url somewhere?
I have an ionic v1 app.
It uses following plugins:
cordova-plugin-console 1.0.4 "Console"
cordova-plugin-device 1.1.3 "Device"
cordova-plugin-firebase 0.1.19 "Google Firebase Plugin"
cordova-plugin-globalization 1.0.6-dev "Globalization"
cordova-plugin-inappbrowser 1.7.0 "InAppBrowser"
cordova-plugin-splashscreen 4.0.0 "Splashscreen"
cordova-plugin-statusbar 2.2.0 "StatusBar"
cordova-plugin-transport-security 0.1.2 "App Transport Security"
ionic-plugin-keyboard 2.2.1 "Keyboard"
phonegap-facebook-plugin 0.12.0 "Facebook Connect"
When I try to run something like cordova run browser I have following output
Linting www/js/views.js
File www/js/views.js has no errors.
-----------------------------------------
Error: Cannot read property 'variables' of undefined
How can I fix this?
I uploading bb10 app to appworld and I can select the following os version
1.0.0
1.0.3
1.0.6
1.0.7
1.0.8
2.0.0
2.0.1
2.1.0
10.0.0
10.0.10
10.1.0
10.2.0
Which one should I select? what does it depend?
Android support on BlackBerry is as follows:
v2.3.3 (Gingerbread):
BlackBerry PlayBook (v 1.x - 2.x)
BlackBerry 10.0 - 10.1
v4.2.2 (Jelly Bean):
BlackBerry 10.2 +
<= 2.x : It concerns Playbooks only, it supports Android, Flash, Webworks or native but not cascades.
= 10.x : It concerns BB10 phones devices. If you develop with cascades, just take care that you are not using 10.0 unexistant functionnalities (such as validators, ...) by testing with a simulator.