I have implemented a PayPal button with InAppBrowser, user goes to PayPal account to donate after clicking and it works as it should but unfortunately our App got rejected by Apple. Their reasoning was that PayPal or donation links should be outside the App. Even thought I have no control over InAppBrowser it is still considered as part of the App.
Weirdly I could not find something related to this, I was hopping for it to be very common.
Also tried window.open with different arguments while removing InAppBrowser and nothing happened.
I know that prompting the User to pick a browser will solve the issue but somehow that is not working for me! I remember getting around it on the past but I do not remember the solution(probably different Cordova plugin). Any suggestion how to solve it? Any other approach is welcomed.
Thank you guys!
Related
I've been searching for the past few hours for this and decided I'd just try asking.
I have a URL that people will visit, it loads a PHP page which checks a database for a specific Facebook link, and then instantly redirects them. I want it to open the app if they have it, otherwise it will go to the browser version.
The issue I'm facing is that I can't get the Facebook app to open when it's a redirect. If I instead create a button or a link and I tap on it, it will launch the app correctly, but navigating to that same link without the user interaction will not work.
I know it's possible because I've seen it done elsewhere, but I guess there is something I'm missing.
I've tried using headers("Location: fb://profile/username") and have also tried other Javascript options such as window.open, window.location, window.location.href and window.location.replace
So far I've only tested this an on android phone. The link initially launches in the chrome app.
If you have a look at this Youtube video, you'll see it's doing what I want to do. It goes to a website and then straight away launches the app.
https://youtu.be/Acl7JnRFxzI?t=17
Thanks!
I think you talked about Deep linking.
Deep linking is not supported on Web so there aren’t the same functionalities as on Android and iOS. You still need to guide your users in the right direction, so we recommend adding a link to your login page.
I've implemented custom URLs in my app, and they work fine. I've also implemented custom landing pages that show different videos based on a query parameter.
1) I would like to generate links for Twitter, email, etc. that launch my app if the user clicks on a link on a mobile phone. If the user does not have the app installed, it should go to the landing page in the mobile browser. The link should go to the landing page if clicked on major desktop browsers.
2) On the landing page, I would like to have a link to open up the app. If the app isn't installed, the link should open the app store listing.
On StackExchange and Google, I've found these proposed solutions:
A) http://mobify.me/static/tests/test-app-link.html
B) http://aawaara.com/post/74543339755/smallest-piece-of-code-thats-going-to-change-the
These solutions are for part 2) above. However, even the canonical version like A) still generates a "cannot open" error in Mobile Safari before redirecting.
Can anyone tell how to write a redirect service for 1) above?
I'd also love a pointer to a good example of how to handle 2) without a error alert box.
You question is fairly long but I am pretty sure this link is what you are looking for: http://support.mobileapptracking.com/entries/25539969-How-to-Deeplink-to-Your-Mobile-App-from-Your-Website
We used the concepts to create something similar to what you are looking to do.
OK, my friend and former CTO gave me an awesome pointer. You can use a iframe to check, which is a solid technique. He has an example, which I can confirm works well on mobile safari.
Here is the code and example on github:
https://github.com/hampusohlsson/browser-deeplink
Hope that helps!
When I go here:
https://developer.linkedin.com/plugins/share-plugin-generator
provide some URL (i.e. google.com), and click on the button, new window popup is opening with some weird behavior - window automatically changes it's own size:/
The same problem will happen when you open popup window manually using JavaScript, with LinkedIn share URL: https://www.linkedin.com/cws/share?url=http%3A%2F%2Fgoogle.com
Problem is in Chrome (Win7), but FF (Win7) works fine. Is there anyone who can reproduce it? And can suggest any solution how to fix this behavior?
EDIT:
It seems that LinkedIn has fixed this issue as can't reproduce anymore.
So, since LinkedIn has been acquired by Microsoft, the way sharing works has been entirely redone.
Your documentation link just goes to a blank page, it doesn't even 404 or error out. Anyway, here is the new documentation link: Official Microsoft LinkedIn Share API Documentation
All you should need to make this work is to use this as your URL:
https://www.linkedin.com/sharing/share-offsite/?url={url}
Wouldn't it have been nice to have known that the URL and the API for sharing has changed entirely? If you are interested in a regularly maintained github project that keeps track of this so you don't have to, check it out! Social Share URLs
I've had the Facebook like button and comments (social plugin) on my website for a while, but for some reason, it just randomly disappeared. Nothing happens to the code, and the Facebook plugins aren't inserted. There's no errors in my JavaScript, and I haven't changed anything in that regard...
The weird thing is, if I go in my browser to Facebook.com, and then hit back, it will load fine. Once I refresh, it's gone again.
Any ideas?
It could be because of this bug.
Facebook JSSDK with locale en_US
(https://connect.facebook.net/en_US/all.js) does not load but returns
"Not a valid locale."
What do you see at https://connect.facebook.net/en_US/all.js?
I need to be able to redirect from a silverlight application to a clickonce .application. The problem with this is that SL redirects via javascript, and it seems IE9 in its default security settings won't allow it.
Right now I'm stuck redirecting to a page with a "Click here to proceed" link, but it's not really the best. I tried redirecting to the link address automatically, but to no avail.
This would all work if I have my page added as a secure site, but I can't go telling people that they need to do that if they want to use this correctly... If any of you can tell me how to make my page prompt the user to add the site as secure without them having to do so manually, though, I would consider the issue resolved.
Thanks in advance.
So in the end we phased out SL and used a standard aspx (because of this and other issues). Thanks for your time, everyone.