-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS9 - Tries to hit fallback link every time from Safari (Chrome works fine) #64
Comments
Also, to clarify a little more, my branch.io configuration is linking to an ipa file hosted by phonegap build after it finishes building it. This is just for development purposes. Somehow the plugin is not detecting the app is already installed on the device and trying to install it again. I've verified that my app ID has the necessary associated domains set in the Apple developer portal and regenerated my provisioning profile and built it. Nothing seems to have helped. |
Wow, what's even more insane is this behavior only seems to be happening if I try to hit my target URL in safari. If I use Chrome, the behaviors work as expected. That's really weird. Also, sorry I haven't been able to contribute much more. |
Hey @gabaum10 - This seems like an Universal Links config issue, like where Team ID on our dash mismatches what you entered in the plugin. Did you run through this troubleshooting guide on our site? https://dev.branch.io/getting-started/universal-app-links/support/cordova/#troubleshooting-universal-links |
Oh, you're probably right. I didn't even see those docs when I was getting things set up. Sorry about that. It's bizarre that chrome works correctly. |
I am currently having this problem. |
I didn't. I was using phonegap build and they don't support the necessary hooks to generate the entitlements file using the branch plugin. So I gave up deep links on ios for now. It turns out all my config were right, PGB just won't work. We have an internal project to get Cordova set up in our dev environment so I'll just implement the deep links once we do that. |
@gabaum10 Still the case? I'm seeing the same exact thing. |
@washowasho is what still the case? We switched over to in house cordova and dropped PGB and were able to get branch to work. Although in the case of iOS we needed to use the Branch Smart Banner https://dev.branch.io/other/smart-banner/guide/ to get the deep link to work correctly. It's an extra click but something we were comfortable with until we go native. |
@gbaum10 yeah, I was seeing if PGB still caused this issue. I confirmed that it does and I ended up switching to native Cordova as well. Thanks for the response. |
This may be a configuration problem on my end, but I can't be sure, especially with all the iOS issues I've run into over the past few weeks using branch. In iOS9 the plugin seems to try and install the app every single time. I can't seem to isolate which side it's coming from; the mapping on the branch side or something with the plugin.
I've got everything set up in my config file for universal links since custom URLs are no longer supported in iOS9:
The URL_SCHEME matches what I have configured in the branch.io dashboard. The links are working correctly in iOS8 and below. There are no errors.
Also, the same setup is working on Android perfectly. This might be a setup issue but since the plugin seems to be working right on Android so I thought it might be the plugin.
The text was updated successfully, but these errors were encountered: