Skip to content
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

Instead of opening application directly, Branch.io takes me to the App Store #327

Closed
razam217 opened this issue May 22, 2017 · 10 comments
Closed

Comments

@razam217
Copy link

razam217 commented May 22, 2017

Hi, I've been using branch.io for almost 2 years. There was a requirement from client that the app should directly open instead of taking the user to the App Store.
I updated the plugin and Android started working. But IOS do not.

In xcode I can see all the configurations in my info.plist. Also I have configured everything in the branch dashboard.

Note: I'm using branch.io old url i.e. bnc.lt.

@ethanneff
Copy link
Contributor

Hello,

Unfortunately, the bnc.lt link domain has been and will continue to be fazed out. It is a legacy link domain which has been replaced by app.link. There is a good chance that your AASA entry for bnc.lt has been removed which will break your app's ability to deep link directly into the app using Universal Linking. Branch has emailed all of our partners last year regarding this change. I apologize for any inconvenience it has caused.

The good news is you can switch to an app.link link domain on your Branch Dashboard. Whenever you configure you config.xml for Branch, you will need to include both your new app.link link domain as wells as your bnc.lt link domain.

Thanks,

@razam217
Copy link
Author

Thanks @ethanneff.
I'm confused about one thing, if I change my link domain from bnc.lt to app.link, will this break all my existing links that are based on bnc.lt? My application is already published on app store, and we've many customers who are using this.

What will happen if:

  • I change my link domain from bnc.lt to ___app.link
  • I update the cordova plugin to the latest version and also update its code accordingly

@ethanneff
Copy link
Contributor

Hello again,

Since your URI Scheme is not changing in your migration from bnc.lt to app.link, your old links will continue to work. Depending on how you created the bnc.lt links, they might navigate to your fallback_url or default_url you have set on your Branch Dashboard. The good news is as soon as the user opens the app, then the deep link data will pass through.

Besides switching to app.link, you will also need to update your Branch SDK as well. This will enable Universal Linking for your app (clicking will open the app directly instead of first redirecting to a browser).

I would recommend the following:

  1. update your Branch SDK
  2. configure your config.xml for Branch to include both bnc.lt and app.link
  3. [switch] to app.linkon your Branch Dashboard (https://dashboard.branch.io/link-settings)
  4. test universal linking with an app.link from your Branch Dashboard
  5. submit your app to the App Store/Google Play Store
  6. create app.link links for all your new campaigns on the Branch Dashboard

Thanks,

@razam217
Copy link
Author

So this means the data will still pass through using bnc.lt domain after switching to app.link domain and will also take me to the app store (my app page). I'll get back to you soon once I'm done with it tomorrow.
Thanks a lot @ethanneff...

@razam217
Copy link
Author

Hi,

@ethanneff when I tried to switch to .app.link domain, it warned me that the links created with bnc.lt domain, will no longer work. Please see the attached image.

Thanks

screen shot 2017-05-25 at 11 20 19 am

@ethanneff
Copy link
Contributor

ethanneff commented May 25, 2017

Hello again,

I have just spoken with my infra team and this error message on the dashboard is incorrect. Your old bnc.lt links will continue to navigate to (URI Scheme) and pass data into your app (Deferred Deep Linking).

I am not too sure if you will be able to change from bnc.lt to app.link on the dashboard due to some UI constraints (related to the incorrect dashboard error message). If this is the case, can you please email support@branch.io with your Branch Key and the app.link link domain you want to change to? We will make the migration for you.

Thanks,

@razam217
Copy link
Author

Nice. I'll try to change from bnc.lt to app.link, if it does not allow me to change, I'll email at support email address.
Should I mention something related to my problem in that email or only the branch_key is sufficient?
I'll try it in the morning and will get back to you on this.

Thanks,

@razam217
Copy link
Author

Hello @ethanneff ,

As you mentioned that I will not be able to change the link domain, so when I tried it wasn't really changing. I emailed at support email address, and they updated.

Now the serious problem with me is my links with new domain and old domain, both are not working on old android application which is already published on play store. Its critical, please let me know what I'm missing?

Although they are taking me to the app store, but when I open my application, it do not pass data.

Thanks,

@razam217
Copy link
Author

Branch.io API is returning 400 error with this response:
{
"error": {
"has_nfc": "wrong field type",
"screen_height": "wrong field type",
"has_telephone": "wrong field type",
"screen_width": "wrong field type",
"screen_dpi": "wrong field type",
"bluetooth": "wrong field type",
"update": "not a valid option"
}
}
Please also have a look at attached image.
screen shot 2017-05-27 at 7 08 25 am

@razam217
Copy link
Author

Hi @ethanneff ,

Thanks for your support and help. My both old and new link domains are now working absolutely fine as you told me.
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants