In ionic3 iOS, when opening app able to see all icons and images from assets folder.
When app is in background and clicking on push notification, app opens but all icons and images from assets folder goes missing.
In below image all the squares or rectangles you can see are missing icons and images after opening app using push notification.
This issue occurs only in iOS. how to fix it?
SCREENSHOT OF MISSING ICONS
Did you specify a different path when you resume your app? Also, you need to specify the path to the www-folder, the one not included in your git, not to your src folder. When you build your app, ionic will create a copy of your images on your www-folder so you can work with them locally and you won't touch yor source.
Related
I have recently developed a set of icons for my ios app using https://makeappicon.com. This provides a folder of appropriately sized images. I then have dragged each of these images into the appropriate slot in the AppIcon section in Assets.xcassets. The icon shows up fine in on my phone screen but not in the app switcher (see circled in image). There are no errors showing.
I have:
- Cleaned build folder and rebuilt
- I have restarted my iPhone
- I have manually placed all the images in the slots
- I have also tried replacing the original AppIcon folder with the one provided by make appicon
All to no effect. Be grateful for any suggestions.
Uninstall App → Restart Device → Install App
Just putting here for the sake of working answer !
As #cobberboy has mentioned in comment, doing above works - verified
I have been trying to figure out this issue, as I multiple times changed the icons removed the build, took new builds etc, but the app switcher icon was the default icon.
I have tried the app on a new phone and the desired icon was showing. So my guess is that the app switcher, (also apple watch OS's app switcher) has some sort of hardcore cache machanism.
If anyone coming from Google facing this issue, not sure how to flush this cache, but you can go ahead and ship your app, as this cache is only on your device.
Good luck!
Ensure you have provided icons for all sizes, deploy, then restart the device to clear any caches.
The documents stored in my app show up in the iOS 11 files app under “on my iPhone”. The folders in this directory do have the app icon of the corresponding app on their folder.
This works correctly except for my app. For my app it shows the folder with a placeholder icon image only.
I could not find any documentation about this. The icon assets of my app do contain all available icon sizes for iOS 11.
What do I need to do to show my app icon on the folder in files app?
This was only a hiccup on my testing device. After removing the app completely and installing it again the icon in the files app was displaced correctly as expected.
I have an app I'm developing. But when my iphone is locked and the push notification goes to the iwatch it doesn't show my app icon. Rather it shows the default app icon. I tried adding the watch app icons to the App Icon file. but it still only shows the default icon when the push notification goes to the iwatch.
Are you sure you put them in the AppIcon in the images.xcassets folder in the WatchKit App target? There are 8 sizes you'll need to supply.
Be sure all the image in the xcassets are in the correct dimension in pixels (be sure no warnings from Xcode). After change or add images in my App I removed the App from iPhone and Watch and reinstall all. Then all icons were OK.
You need to add AppIcon in "WatchKit" Assets.xcassets file. Then remove your old build and install new one. Now you can see app icon.
I had same problem...
All images and assets were correctly in place
I even did a clean build, deleted the watch app and reinstalled it (via Xcode debugger sequence)
But: The app icon still would not show up in the listing or glance
Note..important clue, the icon WOULD show up if I use the simulator.
Fix: After installing the latest and greatest update, REBOOT THE WATCH.
i.e. I held the side button until the Apple Icon reboots
Voila..the icon now appears correctly..go figure..
I am using the asset catalog and all the images for the app icon are chosen with zero errors/warnings in the asset catalog.
When loading the app, the white app icon template (the one with lines that look like a target) appears behind the progress circle and it is grayed out. Only once the app finishes loading and installing then my desired app icon appears. Has anybody seen this and have a solution? I have tried almost everything I can think of:
Used all the standard app icon names and sizes and included in project
Add those app icons to the info.plist's cd bundleprimaryicon dictionary.
The above didn't work so tried asset catalog which also didn't solve the issue.
His occurs whether I distribute the app using either ad hoc or enterprise cert.
Running Xcode 6.1, iOS 8.1
You can add files like this:
project files added:
\n
info.plist added:
Hope this can help you.
I've created an app for ios using kivy. I was able to add a launch image, but when the app starts the launch image appears for one second, then the screen becomes blank for a couple of more seconds and then the app starts. Is there any way to keep the launch image until the app starts? Any help will be appreciated.
Thanks,
Babak
Kivy provides a way fix for iOS apps here:
Launch Images are supported. By default, XCode want you to build an Image Sets. This is your responsability to fill all the images needed for the Sets, depending of your target. However, Kivy use SDL, and as soon as the application starts the SDL main, the launch image will disapear. To prevent that, you need to have 2 files named Default.png and Default-Landscape.png, and put them in the Resources folder in Xcode (not in your application folder)