Ionic app not being served from "ionic://localhost/" on iOS - ios

Been working on an Ionic app, the app runs well on Android, however when adding push notification services the app simply shows a blank screen after the splash screen and doesn't load the app from "ionic://localhost/" instead loads from "file://" after removing the push service the app works well again on all platforms.
We are using the cordova-plugin-firebasex plugin for push notifications.
The error from Xcode when running the app is: "Failed to load webpage with error:...."

Related

Why dynamic link is not working on ios device when app is in running/background state?

I have implemented firebase dynamic links to my flutter App. In android device every thing is working fine but in ios device dynamic link work only when App is in killed state. It is not working when app is in running state.I click dynamic link when app is running then it does not take me to desired location in my app. It simply opens up the screen which was opened before clicking the dynamic link.
I am using firebase_dynamic_links: ^0.5.0.In this version two methods are provide that are
getInitialLink a future to retrieve the link that opened the app.
2.onLink a callback to listen to links opened while the app is active or in background.
I have no idea why it is not working on ios device?
Thank you in advance.

How do I launch an app inside of my flutter app?

I'm trying to build a flutter app that could launch all kinds of apps with a button. But I can't find a way to launch an app without using a browser or going through the google play store and the app store.
Is there a way to launch the app directly without using a browser or the play/app store?
You can try my plugin flutter_appavailability: A Flutter plugin that allows you to check if an app is installed/enabled, launch an app and get the list of installed apps.
Methods available:
checkAvailability(String uri)
getInstalledApps() (only for Android). Unfortunately, for iOS there is no way to get the list of installed apps!
isAppEnabled(String uri) (only for Android)
launchApp(String uri)
In the README.md file there is an example with screenshots

Responsive web to ios conversion, issue with opening third party url

I converted my responsive web app into an ios app in xcode and built it successfully. I run the simulator, I logged in and everything is working fine until i click my teleconference button which is supposed to launch cloud meeting landing page and it shows a screen that says "this browser does not support this, please use safari or google Chrome" hoe can this be resolved

Custom Font Load Inconsistently on PhoneGap

I've built a PhoneGap application that uses FontAwesome as a part of it's user interface. When I load the application to my iPad the fonts display correctly about 1/2 of the time. When working I can close the app and then start it and then they stop displaying. Restarting the app again they will work again. Any ideas??? I'm currently running PhoneGap 2.4, since I have a custom plug-in I'd prefer not upgrade.

Ext.device.Device.scheme is always false on launching Sencha Touch Native iOS app with custom URL scheme

Summary: successfully created a native iOS app in Sencha Touch 2.1 (and 2.2alpha) with a custom URL scheme. In both iOS Simulator and on a real device, launching the app from cold using the custom URL does not pass the URL to the app (Ext.device.Device.scheme is always false, regardless of whether you start the app using the custom URL or not). If the app is already running in the background, however, then the custom URL used to resume it is successfully passed to the schemeupdate event. The launching-from-cold behavior is not consistent with the documentation, and I need a workaround to get the custom URL when the app is started from cold.
Details:
Following the instructions at http://docs.sencha.com/touch/2-1/#!/api/Ext.device.Device to specify a Custom Scheme URL for my native iOS app. I am building on OS X Lion with XCode 4.5.1.
This occurs on both Sencha Touch 2.1 and 2.2alpha and on both iOS 5 and iOS 6.
Steps to reproduce:
Generate a new app using:
$ sencha generate app -path /Library/WebServer/Documents/SchemeTest
Add 'Ext.device.Device' to the requires: property of the application as per the documentation linked above.
Add the following code to the launch function in app.js:
alert("Scheme is " + Ext.device.Device.scheme);
if (Ext.device.Device.scheme) {
// the application was opened via another application. Do something:
alert('Applicaton pened via another application: ' + Ext.device.Device.scheme.url);
}
// Listen for future changes
Ext.device.Device.on('schemeupdate', function(device, scheme) {
// the application was launched, closed, and then launched another from another application
// this means onReady wont be called again ('cause the application is already running in the
// background) - but this event will be fired
alert('Applicated reopened via another application: ' + scheme.url);
}, this);
Specify a custom URL scheme by adding the following line to packager.json:
"rawConfig": "<key>CFBundleURLTypes</key><array><dict><key>CFBundleURLSchemes</key><array><string>sencha</string></array><key>CFBundleURLName</key><string>com.sencha.example</string></dict></array>"
This will cause URLs of the form sencha:HereIsMyURL to open your app on an iOS device or the iOS Simulator.
Run the app in iOS Simulator with this command:
$ sencha package run packager.json
The app will start in the iOS Simulator and will show the URL scheme to be false, since the app has not been started using a custom URL:
Click OK to close the alert dialog, then press the Home button on the iOS Simulator to move the app to the background. Open Mobile Safari and enter the URL sencha:HereIsMyURL and press Enter or click the Go button to resume the app:
The app will reopen and you will see the URL has been correctly passed in:
Tap the Home button on iOS Simulator, then double-tap the Home button and hold the mouse button down on the "My Application" icon until the icons start to shake. Use the red "-" to completely kill "My Application" so that it's no longer running:
Press the Home button again, then go back into Mobile Safari and re-enter the URL sencha:HereIsMyURL and press Enter or click the Go button to start the app.
The app will start, but Ext.device.Device.scheme is still false and so the URL cannot be retrieved.
(Optional) Configure your packager.json file with a valid applicationName, applicationId, bundleSeedId, certificateAlias and provisionProfile, and set the platform to iOS. Then rebuild your native app for your real iOS device using $ sencha package build packager.json, copy the app to your device using XCode, and repeat steps 7 through 11 on the real device. The results are the same.
This means that it is only possible to retrieve a custom URL when the app is already running in the background. When starting the app from cold using a custom URL, the app does not correctly detect that a custom URL scheme has been used and so it is not possible to pass information to the app. Does anyone know of a workaround for this?
I have filed a bug report which can be seen at http://www.sencha.com/forum/showthread.php?254153-ST-2.1-and-2.2alpha-Ext.device.Device.scheme-is-false-on-launch-from-custom-URL.

Resources