As universal links require iOS 9 and are not compatible with iOS 8, is it possible to cater for custom URL's and universal links in the same app so that if an app is installed on an iPhone running iOS 8 and on an iPhone running iOS 9 the URL scheme will forward the user to the app? If not are there any other solutions to this?
YES
I created a demo app called Universal Links with Development target support of iOS8+ (https://github.com/vineetchoudhary/iOS-Universal-Links). In which I support both URI Scheme for iOS8+ and Universal Links for iOS9.2+.
You can download the source code from github and test it yourself. Here the website link which support
Main Page - https://vineetchoudhary.github.io/iOS-Universal-Links/
Home Page - https://vineetchoudhary.github.io/iOS-Universal-Links/home
About Page - https://vineetchoudhary.github.io/iOS-Universal-Links/about
and URI Scheme for is universallinks://
Screenshot of iOS 9.2 and iOS 8.4
Hope this is helpful to you!
Related
On previous versions of the OS my universal links have been functioning correctly. In the iOS 11.2 beta when I click on a link that is defined in my Associated Domains, and whose path is defined in the apple-app-site-association file, my app opens. However, immediately after displaying my launch screen, safari also opens and my app is put in the background. Any explanation or possible solutions would be greatly appreciated.
It was a bug with the beta. iOS 11.2 beta 3 solved the issue
Im trying to integrate Branch.io to our app with latest iOS 10.2 Beta. Im using the latest Titanium Studio 6.0 and Ti SDK 5.5.1.
I've followed the guide provided in: https://github.com/BranchMetrics/titanium-branch-deep-linking
Which means that I have activated Associated domains for my app in the + Apple Developer-central, and also added the correct test-key for branch.io in my tiapp.xml-file.
Together with this, Ive also added the entitlements-file with the correct domain (for com.apple.developer.associated-domains).
NSUserActivityTypes in tiapp.xml
And ofcourse the latest Branch.io module v1.4.
Then, I tried to build everything as adhoc, no issues here either.
BUT; I can't open the app through a messenger-link. Only App Store gets opened all the time.
Is there anything here that I might have missed?
I recently developed a phonegap HTML5 app and it is working fine on my iPad 2's and android devices. When I install the app onto my iPad 1's the app installs, the icon disappears, then after rebooting the icon is back and looks as if it is installed.
I can launch the app, and the splash screen is displayed, then the app just closes.
Here are my deployment settings - I'm quite new to this, so if there are any relevant settings you need to know about, let me know and I'll update my post.
Phonegap version: 3.6.0-0.21.19
iPad 1 running iOS 5.1.1
I create project and build via phonegap commandline, but package with xcode then use diawi to distribute to my iPads.
Cordova, which Phonegap is based on dropped iOS 5 support with version 3.5.0
You can read the blog post here: http://cordova.apache.org/announcements/2014/05/23/cordova-350.html
So it's likely that the code is reaching some iOS 6 commands and then crashing. I'm afraid, you'll either have to revert to an older version of Phonegap or buy a newer test device.
I would not recommend rolling back to an older version of Phonegap because, from February, Apple will require all apps submitted to include 64-bit support (See here: https://developer.apple.com/news/?id=10202014a), I believe this something that Cordova 3.5.0 introduced.
As for the disappearing/reappearing of the App icon. I used to see that if the bundle identifier given in the .plist file associated with the download was different to the one in the actual app info.plist. I've not used diawi though, so I can't help you beyond that I'm afraid.
With Xcode 6.x we can use CocoaTouch Framework template to build a framework library and Xcode will create the .framework for us when we build, which is awesome. In our framework we want to support iOS 7.1 and up, so for Deployment Target (in our framework) we specified 7.1. Now when we build we see a warning: "Embedded dylibs/frameworks only run on iOS 8 or later". I've since read a number of blog posts on the subject that as far as running it on iOS 7.1 this warning can be ignored because it will run fine (still need to test to make sure). What concerns me is that I read a post on Stack Overflow which says an app may be rejected by Apple in the App Store (see: Xcode 6 and Embedded Frameworks only supported in iOS8)
Does it only apply when in Xcode the app links to it in General > Embedded Libraries?
The way we want our customers to link to our framework is:
Via CocoaPods
By referencing .framework in Build Phase > Link Binary With Libraries
I need to understand under what conditions App Store will reject an app which uses our CocoaTouch framework and supports 7.x iOS.
The app wont be rejected if you'll change the type of your framework to Static. See my answer here.
I believe that as long as the app deals with the framework correctly there shouldn't be any issues. Mixing with cocoapods could be tricky and honestly I don't know the best way to tackle it.
But from what I understand, if an app supports iOS 7.X -> 8.X and uses an embedded cocoa touch framework, as long as the compatibility checks are there to ensure the app doesn't crash in 7.X, there shouldn't be any reason for the app to be rejected.
We tried running the latest code on the following configurations:
iOS 8+ — iPhone 5s
iOS 7.1.2 — iPhone 4
iOS 6.1.3 — iPad 4
The App is working fine on all the three devices but the warning is present in the Xcode while compiling .
"embedded dylibs/frameworks only run on iOS 8 or later”
Also I tried to Archive the App in order to submit it to the app store it went on fine.
Also, found out a link where in an apple developer stated this to be a bug:
https://devforums.apple.com/message/999579#999579
I'm using the native Facebook integration for my iOS app and it's working great, but my target is iOS 5.0 and above. The Facebook API is available only in iOS 6.0+, so my question is how can I "remove" the facebook integration for older iOS versions? Right now when I build I'm getting this:
dyld: Library not loaded: /System/Library/Frameworks/AdSupport.framework/AdSupport
Referenced from: /Users/me/Library/Application Support/iPhone Simulator/5.0/Applications/96919EDB-C9E9-4862-ABA2-67ABAFAFB9BE/Tlipo.app/Tlipo
Reason: image not found
I want to keep the FB integration only for iOS 6+ users, so I just want to remove it from iOS 5 devices. How do I remove the libraries so that my app doesn't crash in iOS 5?
Thanks! :)
Click on Xcode project.
Goto Build Phases
Expand "Link Binary With Libraries"
For (1)Social.framework(2)Account.framework(3)AdSupport.framework
Select Optional (At the far right hand side, by default they will have Required as selected)
Following the above mentioned steps, You are telling your App that only load those framworks if available (means for iOS 6.0 and upwards)
It should look like this after following the steps mentioned:
Most probably your problem will be solved.
Let me know, whether it worked or not!
I would recommend you to use the SDK from Facebook instead of the one from Apple. The officla SDK from Facebook supports iOS 5.0 as well, and it is pretty easy to use.
Have a look at https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/