Can I use Firebase Dynamic Links for a web app? - firebase

I don't see any option for Web under "receiving dynamic links" in Firebase Dynamic links page.
Without the SDK, there's no way to connect a post-install user with a pre-install click.
I have a desktop app that runs on node.js like a web app, using nw.js. What I'm trying to do is create referral links for users. After someone clicks a referral link, I need to be able to track his referrer. But the problem is that link is only going to take him to the download page, after he downloads and opens up the app for the first time, how can I reach his referrer info? The desktop app has no connection with the website that users download from.
I understand that this can be done with Dynamic Links SDK but can I use that SDK in a web app?(desktop app actually but runs with HTML/node.js)

The post-install deeplinking in Dynamic Links is just for Android and iOS - so there isn't an equivalent for a desktop app.

Related

Workaround for web-view blocking google authentication within a web application

Good Morning,
So I am facing a dilemma using Firebase Auth (specifically Google OAuth).
Google seems to have blocked the use of their OAuth when a user access my site via a web-view (for example they have clicked on the link in TikTok and the website has opened within a view in TikTok)
It makes sense as to why Google has blocked this, however, this is now stopping my ads from being successful as users see the ad, click on the link, and then it opens up in the TikTok web view, and then they can't log into my web application.
I'm using the simple Firebase Authentication plugin, with Nuxt/Firebase the code for it is as below:
const provider = new this.$fireModule.auth.GoogleAuthProvider()
provider.setCustomParameters({
prompt: 'select_account'
})
this.$fire.auth.signInWithPopup(provider)
Does anyone know any workaround? I've googled this so much but the only real solution I have come across is if I'm creating an android/ios app and this is not a mobile application, this is just a web application.
Thanks so much for your help.

PWA with Windows Authentication

On the high level, I have a PWA with React frontend and .netcore backend. I use service worker for caching and offline ability, in conjunction with workbox plugins for some precaching feature.
The app uses Windows Authentication. Which works fine if it wasn't a PWA app. It also works fine the first time the PWA app launches, I get the username, password login popup.
However from the second time visiting the app, it wouldn't show the login popup, the app fails at pulling data from the backend because it is unauthenticated. One weird behavior is that, if I open Chrome Dev Tools(by F12), then the login popup immediately shows up.
I thought it's caching related and somehow the service worker interfered with the server side authentication workflow. Maybe because the index page is cached by the workbox precache plugins, and it did not cache with the fetch header of 'credentials': 'include'? I tried adding the fetch option to other api routes, which are cached by workbox plugin RegisterRoute. However I didn't find a way to add it to the precacheAndRoute(self.__WB__MANIFEST). Wondering if that's the problem. But I'm also not sure why having Dev Tools open would trigger the popup to display.
Any input is appreciated.

Embedded website showing in msteams webapp but not desktop app

I am building a custom ms teams application with tab capability. And I am embedding a work website inside the tab. The website loads fine in the web app. However it doesn't show in the desktop app. There is one hack to it though. If I switch to developer mode on the desktop app, it is loading the website. My website is SSO enabled for login, so it is redirecting to Idp site. One thing I have understood is, the Idp site doesn't allow their content to be loaded in an iframe, and ms teams uses iframe to load webcontent. But then I am wondering what is different for a developer mode. Why does it work there? Also since it works fine in the browser app, shouldn't it work in desktop app too. I mean the behaviour should be consistent. Any pointers?
could you please follow this document and you need to use microsoftTeams.authentication.authenticate() to show the popup.

Disable service worker in <Iframe>

I need to disable service workers in <iframe>
I build offline PWAs for clients and have a number of demo PWAs running for my potential clients to test on their devices. I also wish to put these PWAs on my website in iframes, but when I do this, the viewer receives a browser notification stating that the app is installed on their device. This causes some alarm because the viewer might not be expecting this as they click through my website. I want to display the apps in an iframe without service worker activation, and with links inviting them to open the app in a new tab which they can then get the full PWA experience if they wish.
Thanks.

I have add a apps (BC API DISCOVERY ) in adobe business catalyst. But after add this app then showing a message in yellow box

I have add a apps (BC API DISCOVERY ) in adobe business catalyst. But after add this app then showing a message in yellow box like
(This application is already installed on your site - but it needs to be authorized in order to function.Please contact your developer to authorize the app to run on your site and access your data.)
Please check also a screenshot
enter image description here
Take a look at this article - http://docs.businesscatalyst.com/developers/faqs/api-related-faqs#authorize-first
Basically you can copy the files from one site to the other, however, the first time you need to authorize the app. To do this log on with a partner user and you will have a button to authorize the app.
Do note the site you are authorizing the app for needs to be under your own partner portal.
If you are still having trouble let me know:
-the site you are trying to install the app on
-the app key
-the username you are logging in with
Thanks
Aayush Vashishtha

Resources