Ionic 2: Ionic serve works fine, but gets stuck on loading screen when deployed to iOS - xcode

This is the first time I'm running into this issue in Ionic 2, but basically, I took the build of https://github.com/driftyco/ionic-conference-app as of today's date and moved my files from another project into this one, mostly so I could take advantage of the latest Ionic 2 functionality. When I run ionic serve, everything loads up fine in the browser.
However, when I run ionic build ios then build it onto my iOS device, I get no errors, but the screen just gets stuck on the ionic splash screen. What's interesting is that my files from the other project would deploy onto my device no problem, as well as when I deployed the ionic conference app. I'm not exactly sure what I could have done to cause this problem, but I did change add a line in my config.xl<allow-navigation href="*"/>
Has anyone else run into this?

Related

app stuck on load time and take too much time to load

https://play.google.com/store/apps/details?id=com.sm.apps.studio.crawlervpn
this is link of my app my app starts well but stucks on splash screen i build this app in android studio please can you guide me how to fix this issue?
i published my app on google play store when i run my own app by downloading it will get stuck on splash screen but when i run before publishing using apk file for testing it was run fine but now it will get stuck on splash screen how can i fix this issue?

nativescript 7 - Live reload is working only once

I've installed latest version on Nativescript as documentation says:
nativescript Full setup with javascript
Everything went fine, so next i did setup my first project: tns create HelloWorld
Next i started the project using npm run ios
Iphone emulator has started, and when i made first change to text label, i saw that app refresh, but on second change conosle said that project is refreshed, but no changes on app. If i close app and run again, i see live reload only works once and next it igores any changes. My question is how to fix this.

How can I test a standalone watchOS application?

I can't figure out how to test running my watchOS app as a standalone app. When I run it on the simulator it never works unless I also have the associated iOS app. Running the watch scheme shows that the iOS app is running along with the watchOS app. I created a scheme which just builds the watch and it will cause the watch app to start, but it doesn't actually update the compiled binary.
First of all, you have to create certificates for all project targets and upload on Testflight, Through Testflight (mobile application) you can install the app and it will sync automatically in the watch.
The second option will, Connect your watch with mobile and install that watch application via Xcode on mobile, it will sync automatically in the watch.

How to force an app to simulate in iPhone simulation using an iPad using Expo?

I'm currently using Expo to build an iPhone app.
I'm not supporting iPad and I have it so when it builds on iPad it runs in an iPhone Simulation.
The problem is I can't develop with Expo using this approach.
The app shows up as an iPad app, but this is not the mode being shipped to users.
According to this I might have some luck adding ios.supportsTablet to the app.json file and setting it to false but it didn't change anything.
Is there another configuration value I'm missing to force iPhone simulation mode on an iPad?
I'd rather not eject if I don't have to.
According to this, there currently isn't a way to live develop using "iPhone mode" on an iPad.
The Expo Client app can’t change its tablet support on the fly,
unfortunately, so it will always adapt your project to the iPad
viewport.
So, following the above forum here is how you get around it:
Run exp build:ios -t simulator
Open Simulator
Select Hardware/Device/iOs 11.x/iPad x generation
Unpack the generated build from the first command
You should have a file named yourApp.app
Drag that file into the iPad you are running in Simulator
It will install the app on the device and you can then view your creation
This is faster than doing a whole build cycle with TestFlight just to see your changes.
But it still leaves a bit to be desired.

Ionic 2 App crashes after splash screen on iOS - how to debug?

I have finally managed to install my Ionic 2 app on my iPhone with a development profile.
When I click the app icon it shows the splash screen, asks for Push permission (I am using Push) and then closes immediately. The same happens when I run it on the xCode simulator.
Any ideas where I can start debugging? This is the first time I am trying to deploy on iOS.
You are most probably using "phonegap-plugin-push" plugin to implement this feature. If that's the case then remove this plugin from your app and try to run it. If app doesn't crash then the problem is with the plugin.
Have you checked all the permission to use the push notification as specified in plugin's git page?

Resources