Is there a way to track mobile Chrome Extension installs? - mobile

I'm trying to track the install origin of my Chrome Extension in mobile devices.
I have different pages on mobile that lead to my extension page on Chrome. Users install the extension on mobile, and need to enable it on desktop.
Is there any way to know that a user installed the extension on mobile coming from a specific page?
Example flow:
User visits Page A on mobile, and clicks on "Get the extension"
User is redirected to the Chrome Web Store and installs the extension
The user enables the extension on desktop
How can I know that the origin is Page A?

Related

Can't redirect from facebook embedded browser to mobile default browser

I'm having issues openning link to my website that I share on facebook.
By default, any link users open from facebook mobile app are opened in the facebook embedded browser.
This browser causing issues to my app so I'm trying to redirect the users to their default mobile browser, but I don't know how.
I've tried many solutions, but none have worked, the closes one was trying to do:
window.location.href="mywebsiteurl", but this prompted message on facebook app that I'm trying to leaving the app, but after accepting would leave the page just idle.

Redirect user to permission settings in ReactJS

I'm building a ReactJS app that requires location, camera and flashlight permissions. The problem is that most (if not all) browsers only ask for permissions once. Once denied, it will never ask again.
In the Chrome browser on my PC I can manually enable permissions by clicking the corresponding icon in the URL bar:
However, in Android and iOS the app is supposed to run inside a mini webview without the URL. So I will need to redirect the user to the corresponding settings in the browser manually.
I've browsed through quite some solutions on SO but they all refer to the navigator permissions method which can only ask for permissions once.
How do I direct the user to the specific site settings in Android and iOS?

Google Sign In within embedded browsers (Messenger, Instagram) not working.. Googles webview policy?

I have a Nextjs web app with Firebase Auth. I only allow my users to login with Google.
All my traffic is coming from social media apps which have an embedded browser. So on launch day I learned that signing in only works directly from a browser like chrome or safari but not within a webview within an application. This is a nightmare.
I tried switching from signInWithPopUp() to signInWithRedirect(), but still same issue.
error 403: disallowed_useragent
This app doesn't comply with Googles webview policy.
Has anyone encountered this problem?

Remote install of app from Google Apps Marketplace

I'm in the process of migrating a Google App Engine / Java based app over to the new Google Apps Marketplace.
The old app enabled users to install the app without actually being on the marketplace page by leveraging a redirect URL extracted from a user click on the "Add It Now" button from the old marketplace page. This URL triggers an account login button that is then followed up by the app install. The URL was of the form:
https://accounts.google.com/AccountChooser?continue=https://www.google.com/enterprise/marketplace/interstitialRedirect?domain&productListingId=&index=0&followup=https://www.google.com/enterprise/marketplace/interstitialRedirect?domain&productListingId=&index=0&service=marketplace&passive=true&ul=1
I've tried using the redirect URL generated from clicking on "Integrate with Google" from the new marketplace page but it goes through the authorization page then leads me to a blank page (though the app is successfully installed). The blank page issue is likely related to the following issue - Chrome Web Store app install redirects to a blank page
The new URL is of the form:
https://admin.google.com/OauthTosCombined?appId=&redirectUri=https://apis.google.com/additnow/signin.html?applicationid%3D%26callback%3Dtrue%26parenturl%3Dhttps://chrome.google.com%26appfinder%3Dfalse
Has anyone been able to successfully enable this scenario? Thanks in advance!
One supported means of allowing an admin to install your Marketplace from a web site is the Integrate with Google button which may be worth considering ( https://developers.google.com/apps-marketplace/button?hl=ca ).
Does the install button from the Chrome Web Store standalone page not work correctly, or is it only when attempting to utilize the URL from the button on the page elsewhere? If the former is not working correctly, then it does sound like the linked to issue. Including the URL to the standalone Chrome Web Store page and an example of your app manifest would be helpful in identifying whether this is a bug.

WebBrowser control won't display an https site that IE8 on the same PC will

In IE8, I get the follow warning, but if I choose to continue the site displays properly.
There is a problem with this website's security certificate.
The security certificate presented by this website was issued for a different website's address.
Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.
We recommend that you close this webpage and do not continue to this website.
Click here to close this webpage.
Continue to this website (not recommended).
More information
In the WebBrowser control, I get this at first:
Navigation to the webpage was canceled
What you can try:
Refresh the page.
When I hit the refresh teh page, this time, I get the same wanting as I originally get in IE8, but when I click "Continue to this website (not recommended)", the page refresh again, displaying the same warning.
What can I do to get the site to display in the WebBrowser control as it does in IE8. I would've thought that the control would be using the same core logic and therefore expected the same result.
Specifically, the site that I am trying to access is a company Outlook Web Access site. Another issue that I have wit the web browser control when accessing this site is that, when I click on an email, normally in IE the email opens in a new window. Using the web browser control, I am prompted for a password. Entering one makes the pop up go away but no email is displayed.
Are there any settings on the control that can make the web site behave like it does in IE8 or any other browsder?
Try display the certificate dialog so your user can choose to install the certificate to a trusted certificate store.
To detect if the current web site is showing a secure web site, handle the DWebBrowserEvents2::SetSecureLockIcon event.

Resources