Is it possible with firebase to create a user based on phone data or another form, avoiding sign ups on app to authenticate?Create a user with custom details in FirebaseMultiple Firebase App AuthenticationHow do I link each user to their data in Firebase for Swift 3?firebase multi-location updates user authentication and databaseFirebase verify phone number then authenticate user with email/password with SwiftHow to store data in Firebase along with Authentication dataDelete data from Firebase Realtime Database when user closes appFirebase phone authentication : once phone entered check if there is a user with that phone in usersGDPR & Firebase Realtime DataBase - Authentication and users identification: How to anonymize user data on firebase?
D&D Monsters and Copyright
How to make "acts of patience" exciting?
how do you value what your leisure time is worth?
Is it possible to listen to a TCP port only with a shell, with no additional tools?
Why didn't Kes send Voyager home?
Parliament Cannot Bind Future Parliaments
What powers an aircraft prior to the APU being switched on?
What kind of tools would be used to carve bone?
Does Australia produce unique 'specialty steel'?
A sentient carnivorous species trying to preserve life. How could they find a new food source?
I'm largest when I'm five, what am I?
Is self-defense mutually exclusive of murder?
Why is the logical NOT operator in C-style languages "!" and not "~~"?
Can expansion of space blueshift galaxies with respect to one another?
What is this dial on my old SLR for?
A demigod among men
Is any device installed on airplane to measure wind speed relative to the ground, and its direction?
Forced Conversion of Majority
What is this plane with its thick cockpit?
Why CMYK & PNG is not possible?
How to execute a project with two resources where you need three resources?
Installing Proprietary Windows Drivers on Linux
What is the best DIY approach to keeping brake dust off your rims?
Tool to get dual problem from any linear optimization problem (.lp)
Is it possible with firebase to create a user based on phone data or another form, avoiding sign ups on app to authenticate?
Create a user with custom details in FirebaseMultiple Firebase App AuthenticationHow do I link each user to their data in Firebase for Swift 3?firebase multi-location updates user authentication and databaseFirebase verify phone number then authenticate user with email/password with SwiftHow to store data in Firebase along with Authentication dataDelete data from Firebase Realtime Database when user closes appFirebase phone authentication : once phone entered check if there is a user with that phone in usersGDPR & Firebase Realtime DataBase - Authentication and users identification: How to anonymize user data on firebase?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;
I have a Swift iOS app which I want to avoid the process of creating a login/signup authentication for user. But still allowing individual users to able to save certain content of the app. Therefore improvising a form of unique id in Firebase, to retrieve all saved info saved only for that phone/user.
How would this be possible only using Realtime Database Firebase?
ios firebase firebase-realtime-database
|
show 1 more comment
I have a Swift iOS app which I want to avoid the process of creating a login/signup authentication for user. But still allowing individual users to able to save certain content of the app. Therefore improvising a form of unique id in Firebase, to retrieve all saved info saved only for that phone/user.
How would this be possible only using Realtime Database Firebase?
ios firebase firebase-realtime-database
You can put whatever data you want in Realtime Database - your own generated IDs, if you want. I don't really understand the problem you're running into here.
– Doug Stevenson
Mar 28 at 21:32
How to always have that unique id linked to that phone. No matter if the app is closed and open again.
– Vesper
Mar 28 at 21:41
Save it to local storage?
– Doug Stevenson
Mar 28 at 21:42
That would involve using plist or core data, I was look for a way to only depend on firebase. If there isn't then yes I would use a local storage
– Vesper
Mar 28 at 21:50
What about if the user change device?
– cutiko
Mar 28 at 22:04
|
show 1 more comment
I have a Swift iOS app which I want to avoid the process of creating a login/signup authentication for user. But still allowing individual users to able to save certain content of the app. Therefore improvising a form of unique id in Firebase, to retrieve all saved info saved only for that phone/user.
How would this be possible only using Realtime Database Firebase?
ios firebase firebase-realtime-database
I have a Swift iOS app which I want to avoid the process of creating a login/signup authentication for user. But still allowing individual users to able to save certain content of the app. Therefore improvising a form of unique id in Firebase, to retrieve all saved info saved only for that phone/user.
How would this be possible only using Realtime Database Firebase?
ios firebase firebase-realtime-database
ios firebase firebase-realtime-database
edited Mar 28 at 21:42
Doug Stevenson
111k12 gold badges130 silver badges155 bronze badges
111k12 gold badges130 silver badges155 bronze badges
asked Mar 28 at 20:59
VesperVesper
7510 bronze badges
7510 bronze badges
You can put whatever data you want in Realtime Database - your own generated IDs, if you want. I don't really understand the problem you're running into here.
– Doug Stevenson
Mar 28 at 21:32
How to always have that unique id linked to that phone. No matter if the app is closed and open again.
– Vesper
Mar 28 at 21:41
Save it to local storage?
– Doug Stevenson
Mar 28 at 21:42
That would involve using plist or core data, I was look for a way to only depend on firebase. If there isn't then yes I would use a local storage
– Vesper
Mar 28 at 21:50
What about if the user change device?
– cutiko
Mar 28 at 22:04
|
show 1 more comment
You can put whatever data you want in Realtime Database - your own generated IDs, if you want. I don't really understand the problem you're running into here.
– Doug Stevenson
Mar 28 at 21:32
How to always have that unique id linked to that phone. No matter if the app is closed and open again.
– Vesper
Mar 28 at 21:41
Save it to local storage?
– Doug Stevenson
Mar 28 at 21:42
That would involve using plist or core data, I was look for a way to only depend on firebase. If there isn't then yes I would use a local storage
– Vesper
Mar 28 at 21:50
What about if the user change device?
– cutiko
Mar 28 at 22:04
You can put whatever data you want in Realtime Database - your own generated IDs, if you want. I don't really understand the problem you're running into here.
– Doug Stevenson
Mar 28 at 21:32
You can put whatever data you want in Realtime Database - your own generated IDs, if you want. I don't really understand the problem you're running into here.
– Doug Stevenson
Mar 28 at 21:32
How to always have that unique id linked to that phone. No matter if the app is closed and open again.
– Vesper
Mar 28 at 21:41
How to always have that unique id linked to that phone. No matter if the app is closed and open again.
– Vesper
Mar 28 at 21:41
Save it to local storage?
– Doug Stevenson
Mar 28 at 21:42
Save it to local storage?
– Doug Stevenson
Mar 28 at 21:42
That would involve using plist or core data, I was look for a way to only depend on firebase. If there isn't then yes I would use a local storage
– Vesper
Mar 28 at 21:50
That would involve using plist or core data, I was look for a way to only depend on firebase. If there isn't then yes I would use a local storage
– Vesper
Mar 28 at 21:50
What about if the user change device?
– cutiko
Mar 28 at 22:04
What about if the user change device?
– cutiko
Mar 28 at 22:04
|
show 1 more comment
2 Answers
2
active
oldest
votes
You'd typically use anonymous sign in on Firebase Authentication for that. This generates a unique ID the first time you call Auth.auth().signInAnonymously()
, and then uses that to identify the app instance. You could use that to key the data you store for that user in the database.
even if the user closes the app/restarts phone, would it maintain the same id and still be able to get info for that specific user?
– Vesper
Mar 29 at 3:37
1
Yep, the anonymous user's UID is persisted to disk, so restored between sessions. It is wiped is when the user uninstalls the app, or when you sign them out.
– Frank van Puffelen
Mar 29 at 14:22
add a comment
|
Realtime Database doesn't have a concept of per-user or per-device storage. You need to generate your own unique IDs in order to effectively partition off a space for each user or device. The database will not do that for you.
add a comment
|
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406772%2fis-it-possible-with-firebase-to-create-a-user-based-on-phone-data-or-another-for%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
You'd typically use anonymous sign in on Firebase Authentication for that. This generates a unique ID the first time you call Auth.auth().signInAnonymously()
, and then uses that to identify the app instance. You could use that to key the data you store for that user in the database.
even if the user closes the app/restarts phone, would it maintain the same id and still be able to get info for that specific user?
– Vesper
Mar 29 at 3:37
1
Yep, the anonymous user's UID is persisted to disk, so restored between sessions. It is wiped is when the user uninstalls the app, or when you sign them out.
– Frank van Puffelen
Mar 29 at 14:22
add a comment
|
You'd typically use anonymous sign in on Firebase Authentication for that. This generates a unique ID the first time you call Auth.auth().signInAnonymously()
, and then uses that to identify the app instance. You could use that to key the data you store for that user in the database.
even if the user closes the app/restarts phone, would it maintain the same id and still be able to get info for that specific user?
– Vesper
Mar 29 at 3:37
1
Yep, the anonymous user's UID is persisted to disk, so restored between sessions. It is wiped is when the user uninstalls the app, or when you sign them out.
– Frank van Puffelen
Mar 29 at 14:22
add a comment
|
You'd typically use anonymous sign in on Firebase Authentication for that. This generates a unique ID the first time you call Auth.auth().signInAnonymously()
, and then uses that to identify the app instance. You could use that to key the data you store for that user in the database.
You'd typically use anonymous sign in on Firebase Authentication for that. This generates a unique ID the first time you call Auth.auth().signInAnonymously()
, and then uses that to identify the app instance. You could use that to key the data you store for that user in the database.
answered Mar 28 at 22:22
Frank van PuffelenFrank van Puffelen
278k37 gold badges451 silver badges471 bronze badges
278k37 gold badges451 silver badges471 bronze badges
even if the user closes the app/restarts phone, would it maintain the same id and still be able to get info for that specific user?
– Vesper
Mar 29 at 3:37
1
Yep, the anonymous user's UID is persisted to disk, so restored between sessions. It is wiped is when the user uninstalls the app, or when you sign them out.
– Frank van Puffelen
Mar 29 at 14:22
add a comment
|
even if the user closes the app/restarts phone, would it maintain the same id and still be able to get info for that specific user?
– Vesper
Mar 29 at 3:37
1
Yep, the anonymous user's UID is persisted to disk, so restored between sessions. It is wiped is when the user uninstalls the app, or when you sign them out.
– Frank van Puffelen
Mar 29 at 14:22
even if the user closes the app/restarts phone, would it maintain the same id and still be able to get info for that specific user?
– Vesper
Mar 29 at 3:37
even if the user closes the app/restarts phone, would it maintain the same id and still be able to get info for that specific user?
– Vesper
Mar 29 at 3:37
1
1
Yep, the anonymous user's UID is persisted to disk, so restored between sessions. It is wiped is when the user uninstalls the app, or when you sign them out.
– Frank van Puffelen
Mar 29 at 14:22
Yep, the anonymous user's UID is persisted to disk, so restored between sessions. It is wiped is when the user uninstalls the app, or when you sign them out.
– Frank van Puffelen
Mar 29 at 14:22
add a comment
|
Realtime Database doesn't have a concept of per-user or per-device storage. You need to generate your own unique IDs in order to effectively partition off a space for each user or device. The database will not do that for you.
add a comment
|
Realtime Database doesn't have a concept of per-user or per-device storage. You need to generate your own unique IDs in order to effectively partition off a space for each user or device. The database will not do that for you.
add a comment
|
Realtime Database doesn't have a concept of per-user or per-device storage. You need to generate your own unique IDs in order to effectively partition off a space for each user or device. The database will not do that for you.
Realtime Database doesn't have a concept of per-user or per-device storage. You need to generate your own unique IDs in order to effectively partition off a space for each user or device. The database will not do that for you.
answered Mar 28 at 22:02
Doug StevensonDoug Stevenson
111k12 gold badges130 silver badges155 bronze badges
111k12 gold badges130 silver badges155 bronze badges
add a comment
|
add a comment
|
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55406772%2fis-it-possible-with-firebase-to-create-a-user-based-on-phone-data-or-another-for%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You can put whatever data you want in Realtime Database - your own generated IDs, if you want. I don't really understand the problem you're running into here.
– Doug Stevenson
Mar 28 at 21:32
How to always have that unique id linked to that phone. No matter if the app is closed and open again.
– Vesper
Mar 28 at 21:41
Save it to local storage?
– Doug Stevenson
Mar 28 at 21:42
That would involve using plist or core data, I was look for a way to only depend on firebase. If there isn't then yes I would use a local storage
– Vesper
Mar 28 at 21:50
What about if the user change device?
– cutiko
Mar 28 at 22:04