S
Supabase2mo ago
Gab

Not quite understand on how to put service-account.json for supabase edge function

I'm trying to make an edge function using supabase to send fcm via the dashboard. But I can't seem to put the json file in there. And i had no idea how to do the step 3
No description
11 Replies
silentworks
silentworks2mo ago
Are you using the Supabase CLI? if not, you will need it to do step 3.
Gab
GabOP2mo ago
So, I can't do it using dashboard?
silentworks
silentworks2mo ago
Not according to the doc you shared.
Gab
GabOP2mo ago
Alr thanks Any way to run cli without scoop? I'm using android studio only and it doesn't seem to be available for android studio as plugin or in windows as a standalone
silentworks
silentworks2mo ago
Use npx if you have node installed on your machine.
Gab
GabOP2mo ago
I also don't have any node stuff, only android stuff on android studio
silentworks
silentworks2mo ago
You will need one or the other
Gab
GabOP2mo ago
Ah ok. Thanks
Gab
GabOP2mo ago
@silentworks sorry for tagging, but why do i get different result when push to edge? I literally copy and paste from the guide but end up having different result
No description
No description
silentworks
silentworks2mo ago
What do you mean by different result? what's missing or what is there that you think shouldn't be?
Gab
GabOP2mo ago
there's an interface before the main function on the code sample from guide but it got removed when i push the code to edge function

Did you find this page helpful?