Just updated my iPhone to iOS10 and the Universal links stopped working. If I run my app in an iPhone with iOS9, or lower, the Universal Links work fine, but the are just not working at all in iOS10.
Any clues?
It sounds like you inadvertently deactivated Universal Links. This usually happens if you tap the bypass link in the top right corner of the screen after opening a Universal Link.
This is a per-app setting that is saved on each unique device. The setting is preserved even if you delete the app and reinstall it, so the only way to reverse this is by intentionally re-enabling Universal Link behavior for that app on your device. There are a couple of ways to do this:
Paste the link into Notes or iMessage (or some other app that supports Universal Links) and long-press on it. You'll see an 'Open in [App]' option. Select it, and after that all Universal Links for that app will work again.
On the the webpage that opens in Safari — assuming it doesn't immediately redirect somewhere else — you can scroll up on the initial view to get a banner. Clicking this will also re-enable Universal Links for the associated app.
Ensure that you have the app installed on your device first. A fix for iOS 11 is to text or send the universal URL to yourself or a friend via iMessage. Then tap on the link to open it. It should automatically launch the app. This should fix the issue.
A couple of notes:
Some apps like Slack (at the moment) does not send me to the app but instead sends me to Safari. So don't rely on Slack to test your universal links.
Another thing that wasn't working for me was seeing the app banner from safari, but after sending the URL via iMessage and tapping on it, I am able to see the app banner from safari again.
Related
I recently released an app on the apple App Store however I have an issue with the app icon not displaying correctly. It displays fine on the App Store when viewed from a MacBook however when viewed from an iPhone the icon is fully black like so:
The same app listing on the App Store viewed from a MacBook:
Does anyone have any idea why this might be the case? The icon displays correctly in Xcode and on apple connect yet when viewed from an iPhone on the App Store it turns all black.
Try resubmitting your app. I think it's a current bug with App Store Connect.
When you go into App Store Connect, ensure the icon is displaying properly under the build (on the main version screen). And when you submit the app the for review, also ensure it's displaying properly.
I had the same black icon issue, and after uploading the app a few times, I finally got it to display with the proper icon on the main version screen. And when I submitted for review, it also displayed the proper icon (not the blacked out icon). It took a few attempts.
I managed to fix the issue. The problem was that I was using the flutter package flutter_launcher_icons to generate the app icon and for some reason it did not generate all the right sizes causing the app icon to show up on some devices but not on others. Apple still approved the app which made me think that it was an issue on their side rather than mine. I fixed the issue by using this app icon generator instead which generated all the right sizes and now the app icon shows up correctly on every device.
Whenever I click on my app's icon, it animated the user interaction but doesn't open the app.
This only happens sometimes after I navigate to other apps can come back.
Figure it out.
It was because the app was from an Xcode build and not from the App Store.
I have a Swift based app that launches other apps using their URL Scheme. I am properly launching a few apps and understand how it all works. When I launch these app, the back to Launchpad (my app) button appears in the upper right but in 2 different third party apps, the app launches but there is no back to button.
Any idea what could cause this.
When I trigger a Facebook share in my app (URL scheme that switches to the Facebook app, and then back again when it's done through another URL scheme associated with my app), I always see the default launch image for a second before I get the UI back.
If I leave the app by pressing the home button and going back I don't get the default launch image. Nor do I get it if I leave the app, open another app and then go back.
Tested on an iPhone 5 with iOS 8. Is this a bug in iOS 8 perhaps? Anybody else encounter this?
EDIT: Oh, and no UIApplicationExitsOnSuspend in the plist, and the app is compiled against iOS 7.
Is there any way of testing Apple Smart App Banners in a desktop browser by doing something along the line of spoofing the user agent, or is this functionality so specific to Mobile Safari that I can only test it on an iDevice?
I know that merely spoofing the user agent in a desktop browser doesn't do anything in regards to showing the Smart App Banner, but maybe I can do something else in my desktop Safari browser to test the banner?
I am not an iOS developer but I have access to the iOS emulator on my colleague's Mac if that helps.
Unfortunately, the Smart App Banner is only displayed on iOS Safari on a real device. The iOS Simulator and desktop Safari cannot display smart app banners.
This is a bummer, especially because resetting smart app banners after they have been dismissed is a huge pain.
In chrome dev tools, click the sprocket that lead you to the more advnaced settings, there check the 'override' check-box, and select a mobile user agent(IOS, Android).
Keep in mind that the screen sizes that chrome provide are not always accurate and might need some adjustment.
For more accurate screen sizes you might want to use Mozilla & Firebug(basically has the same functionality)
You can just tap the toggle device toolbar inside chrome inspector and the smart app banners are recognized since this toggle changes to a mobile user agent.
See sample result :