How can I link Firebase auth Android app and web app? - javascript

I have two projects a web app and an Android app and I want to link them together. I have Firebase auth set up on the Android app (user app) and I want the admin web application to link the auth account as 2 way (admin and user). Is that possible? If it is, can you explain how?

Is that possible?
For sure it's possible. This can be simply done inside the Firebase console. Once you have successfully created your project, then you'll be able to add as many apps as you need. Since you have a web and an Android app, you should go to "Project settings" and hit the blue Add app button. The first time you should create the web app and the second time, the Android app. How? Simply follow the instructions that are provided. There are only 2 steps in the case of a web app, and four in the case of an Android app.

Related

CodenameOne to VueJS back and forth communication

We have a web app build in Vue JS and it's SPA, now we want mobile version of the app but due to time and other factors we don't want to build the mobile app from scratch so we resort to using CodenameOne BrowserComponent to load the web app and because it's CodenameOne we can submit to app stores.
The issue we're have now is that the app will have phonebook contacts access on the mobile device, CodenameOne have full access to mobile device once the user grant the permission but reading the contacts in CodenameOne and sending it to VueJs component that will display it is where our issue lie.
CodenameOne can interact with Javascript but I've not seen sample codes for VueJs.

How to open saved web app using JavaScript?

I'm new to PWA (Progressive Web App) and using Angular. I have configured a service worker module as described in the Angular docs. Everything is working fine. On Android, the user is able to add the app to the home screen and it is working on offline as well. But I'm unable to find the functionality to open the saved web app by triggering an action in the browser.
Let's say https://pwa.com is a domain and I want to open saved app (on the home screen) from another domain like https://example.com or from another route on the same domain like https://pwa.com/openApp by clicking on a button. Is there any possibility to do this?
Looks like this is possible for Android: https://developers.google.com/web/fundamentals/integration/webapks
But doesn't seem like it works for iOS
https://medium.com/#firt/progressive-web-apps-on-ios-are-here-d00430dee3a7

update native google maps app from a web app

Can I have a web app running, and a native google maps app launched by the web app running on a droid, and have actions performed by the user on the web app automatically update the native map app?
Ex. User clicks link on web app. Query string values in the address feed maker points to the maps app and it launches in the native app rather than a browser if the user chooses that. Then, user goes back to web app, makes changes. When user goes to map app, changes on web app are already reflected in map app via some sort of push notification system from the web app to the native map app.
Is this at all possible to do?
if you are talking about web app runs on the same devices, you can at least use some URL scheme to open the native Maps app. But there seems to have no way for returning the information back to your web app. (well, for the sign-in app, there seems to be some connection and data sharing between the signed in devices, but not sure how it works.)
but the ultimate solution I can think of to this question is to develop your own version of the Maps app, which should be an app that use Google Maps API to do basically the same thing the google maps does, which also sync data with your backend web server.

Is there an alternative to Adobe PhoneGap and Appcelerator Titanium?

I just want a framework that allows me to build cross platform apps with HTML5 for at least iOS and Android. The problem that I'm having here is that I can't build PhoneGap or Appcelerator Titanium apps for iOS since I don't have a $99 developer subscription. I might have one in the future, but for now I can't. Is there anything like these frameworks around that doesn't require a iOS serial? I don't want to use one of those online tools that don't require coding. Preferably something like PhoneGap so I can access some of the phone's sensors, like the GPS and Camera.
If you want to publish in the App Store, you need a developer account. In order to get into the App Store, your app must first go through Apple's internal approval process, and you can only apply for that approval if you have an account.
The only way to publish in the App Store without your own account is to piggyback on someone else's account (e.g., publish it under a friend's account). It's unlikely that any publication service would let you piggyback on their account: what if you tried to publish malicious code and got their account in trouble with Apple?
If you don't need to publish in the App Store, your unapproved iOS app is still runable on jailbroken devices. If you do want to have your app in the App Store, you must get an account.

What type of FB app do I need to create for use with my windows 8 JS app?

I've had a search around here and either
The answer isn't here; or
The search engine on here sucks
but,
I am trying to add FB integration to my Windows 8 Metro (yeah I said it) JavaScript app. the only problem is I cant work out what type of app I need to create on Facebook. There are only 3 options, iOs, android, and Web App. If I choose Web App, it asks for a mobile web URL, and of course the app isn't on the web so I assume this will be a problem. Further to this is he fact that the code I need to include in my "mobile app" asks me to define a channelUrl (again, no URL, as its a metro app) so I am very confused.
Anyone here gotten this successfully working and provide me a hint as to which type of FB app I need to create so that I can get the ball rolling?
Choose the first option Website with Facebook Login. In Site Url, you should be able to put down whatever you want, eg your own site, blog, etc.
You will use Web authentication broker. See
http://code.msdn.microsoft.com/windowsapps/Web-Authentication-d0485122

Categories