how do I use a firestore / firebase callable function when my user is not registered?

262 Views Asked by At

Usually in iOS, you login and auth() to firebase with your user email and password, to use callable functions. Behind the scenes the firebase framework is managing your token. However as iTunes developers know, often your application is rejected when forcing users to register (and thereafter, login): App rejected because asking user registration (Guideline 5.1.1)

I was wondering if and how I could securely call a firebase 'Callable' function in swift 4, or if I could just insert data directly into the firebase database, securely, without having any login authentication and no authorization - because I need to let users 'skip' registering on the welcome page to fulfill iTunes app requirements.

thanks

0

There are 0 best solutions below