The LinkedIn Android app embedded web browser is not loading pages shared from our web site/web app. It appears our site's javascript is not loading completely, or not being run.
As a result, clicking through on a shared link within the LinkedIn Android app leads only to a page with our page loading indicator.
Here is an example of a link that cannot be viewed on the LinkedIn Android app's web browser, while working fine in the LinkedIn iOS app's web browser:
https://journey2health.com/articles/propaganda-shouts-truth-whispers-zEApck
It seems likely the Android app is using a WebView control to display information shared from third party sites. Is anyone aware of documentation regarding known limitations of the Android app's WebView or ways to troubleshoot this problem?
Check out this link, the problem lies within your Javascript.
https://www.linkedin.com/help/linkedin/answer/46687/making-your-website-shareable-on-linkedin?lang=en
Android WebView does not have have a limitation that would cause this.
Related
I have a web application that can be installed as PWA. Once installed the problem appears on Android devices with Chrome.
If a user is logged out the application will redirect to an authentication service that is hosted on a separate server. Once a user has logged in the application redirect him to main page of app. PWA is opened automatically at this point. I don't want this.
Does anybody know a way to prevent automatically opening PWA when a user open a site in browser?
It was noticed on Android 8.0 with Google Chrome 74.0.3729.157.
Also if an authentication page is rendered inside iframe PWA is not opened automatically.
Finally I get it.
PWA is installed as WebAPK so Android open my application automatically when an auth server returns redirect to my application https://developers.google.com/web/fundamentals/integration/webapks.
A way exists to prevent that by defining a scope parameter in manifest.json. But it is not my case because all my application is in the root.
Finally I use iframe to render an auth page instead of redirection to auth service directly.
I am doing a POC whose requirement is quite unique.
We are running SAP netweaver portal 7.3 and the client requires the exact desktop version to be opened in ipad.
Due to rendering issues some portal short links(links to direct application inside the portal rather than the homepage) need to be opened in Chrome and others in Safari. Majority of application is to be opened in Chrome.
For that i have designed a simple HTML page containing hyperlinks to the above mentioned hyperlinks. For Chrome links i use the following-
var hname=<host>+"/<app name>";
location.href="googlechrome"+hname.substring(4);
is the portal landing page- http://myportal.corporg.net/irj/portal
is the short link to the app inside the portal.
The final working url is like- http://myportal.corporg.net/irj/portal/myapp
With the googlechrome:// i am able to trigger the link to be opened in Chrome from Safari. But it loads in mobile version.
But this portal does not support mobile versions as per vendor specs and hence throws a compatibility error which is a part of the portal error handling. upon choosing the desktop version, the app starts working.
The requirement is somehow to trigger the desktop version, when the URL is called either via javascript in the bookmark page(the javascript snipped shared above) or via any url parameters.
NOTE- There can be no change in the device software like rooting etc. These are only ipad air 2 devices.
Restriction- The corporate portal can not be changed as well. We cannot change any codes in the portal as well. it has to be either via javascript or via url parameters.
Is there anyway this can be done
Recent versions of Chrome for Android allow the installation of a web page in the home screen, using the web app manifest.
But here's my question: how do I detect in Javascript whether the page was launched from the home screen? I found a page advising the use of window.matchMedia, but this does not seem to work with Chrome 47 on Android.
Anyway, is there a solution at all for this problem?
When posting a link to our web site to someones Facebook wall, the ink file picker stops working when the person uses the Facebook IOS application.
The file picker comes up and works normally, but as soon as you try to submit the image, the error in the attached screenshot appears below appears.
The text is cut off but it is something like "...results to application. Communication iframe...".
All works fine in the android FB application which clearly opens links in an external browser. But with the FB IOS, our web site seems to render inside the FB app through some sort of deep linking magic. It seems clear that this is some sort of cross domain issue that has been recently introduced by changes at FB.
Has anyone come across this? Any workarounds?
This question may be related to this one here:
Opening Up Facebook app outside Facebook
Full message is "Cannot send results to the application. Communication iframe not found.. Please close this window and try again." (should be responsive)
Filepicker isn't able to communicate when it is run inside FB IOS app. A solution might be to force it to display filepicker in the browser.
Let me first start out by saying I know how to use the iOS SDK so please don't answer this with a "just use the SDK." I want to know WHY google analytics is not working.
Here's my setup. I have a web app that is also baked into an android app and ios app via webview. I'm using cordova. The android app works just fine with the GA JS code. The web works just fine. However no events or page views are showing up from iOS. I've heard that GA is tied to the domain so does an iOS Webview do something under the hood to the domain?
I was going to attach my code snippet but it's coffeescript in a few classes so I'll just paste the compiled js
Analytics.prototype.track = function(args) {
window._gaq.push(args);
};
Analytics.track(['_trackEvent', 'SubscriptionModal', "Closed", data]);
This works fine in web and android so it's not a JS. I'm setting the GA _setDomainName to 'focusatwill.com' and can see that both ios and web have a domain of 'www.focusatwill.com'
I've read online a few people talking about this issue and everyone says just use the SDK. I'm looking for the reason why it doesn't work. How do you fix it to use the JS?
edit
I should mention that the html and JS are not baked into the device, ie they don't have a local url but are served up from our webserver
Safari on iOS6+ blocks third party cookies by default, and I'm certain that webviews do too.
Check that you have something similar to the following in the init method of AppDelegate.m:
NSHTTPCookieStorage* cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
[cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
That's from the standard boilerplate generated by Cordova 3.0.9, but might not be present if you're using a version that predates iOS6. It sets the app-specific cookie policy, which should override the system default.