I have a firebase project using some auth features but now I wish to add some functionality that is only available in firebase using admin sdk. as far as I know, admin sdk cannot run directly in front end so I have thought about integrating nuxtjs to run a local-ish server. I was wondering if it is possible to add nuxtJs to my existing project and if yes, how would I go about adding it to run the admin sdk locally?
Related
I am trying to make one feature in my Shopify theme that is currently integrated using 3rd party app. now I am achieving the same functionality using liquid code and javascript code but now I want to test without the app and once all tested on the development and if all working well then an then I want to push or deploy on a live one.
so for that, I want to remove that 3rd party app reference in the development theme only. the app will add js using a script tag.
I am using Shopify CLI to develop the theme feature. also I have blocked the JS of that app from the console window but I need to block it permanently on an unpublish theme so I can send the preview link to everyone to test the same things on a different machine and in a different browser.
Successfully created an Android app of my PWA using PWA builder.
Also Added web push notifications with the Service worker and web Firebase messaging API.
But due to certain shortcomings of web push notifications, I want to use the native push notifications using firebase SDK for Android instead.
Reading a few of these answers How to use push notification for trusted web activity, Cannot understand how to open a simple TWA inside an app (using AndroidX) gives me the impression that I need to have access to Main Activity and put Firebase onMessageReceived inside onCreate function.
But given PWA builder is a Node application that builds APK, I don't know where to start. I understand that I have to 1. Include the Firebase SDK & 2. Put onMessageReceived
But how to go about it using PWA builder?
Or Is it not possible at all? I need to create a brand new Andriod studio project and add TwaLauncher, from android-browser-helper as some of the answers mention?
Also posted this question on PWA builder issues.
When you are generating Android APK, enable the "Notification Delegation" option.
I am developing a public Shopify app.
Where should I store app custom settings? Does Shopify have some API to store custom settings?
In case I save settings in my custom database how can I load them in my embedded app?
Store your app settings in your database. The embedded app you're creating should handle authentication properly and your app should access the store settings and any other store data only when you're sure the app is loaded by the client that has the right to access this data.
Here are the links that might be useful:
Shopify App CLI
Authenticate with OAuth
Building embedded apps using session tokens
Build a Shopify App with Node and React Tutorial
You should store your app settings in the store metafields.
We are creating a web site which we want to use RN-web. (it's back port from RN app)
We'd like keep the possibility of converting to PWA later, wonder if it's possible to convert RN-web to PWA?
If you created your application with the expo-cli, now it's super easy to do it.
Expo web projects generate PWA assets and manifest by default, you only need to enable offline web support to get a full PWA.
You can follow the documentation https://docs.expo.io/guides/progressive-web-apps/
And enable service workers on your react native app https://github.com/expo/fyi/blob/master/enabling-web-service-workers.md
Since we've upgraded from GCM to FCM we have a problem because the app suddenly needs a custom google-services.json and I don't seem to find a API or cli tool which enables me to add new apps and generate a new file.
Has someone found a way to automate this?
There is currently no API to generate a google-services.json. You can download it from your Firebase Console by selecting your project and then clicking to manage your Android app.