Can't get Auto-ID Document in Firestore
up vote
0
down vote
favorite
Excuse me,
I'm working on my code about making a Document Firestore that could be delete, this is how my Firestore Database looks like :
Firestore Data Structure
I'd like to delete the Auto-ID Document after the Collection "X-MIPA.6". So, I followed the previous solution about "Firebase Cloud Firestore get auto-id of newly created document", so here is my code looks like :
My Code
But, when I tested, my app force closed and show me this Error :
The Error
How is it possible? How can I fix it?
I want to delete the Document based on the Auto-ID Document on my Firestore Database.
Thanks!
firebase google-cloud-firestore
add a comment |
up vote
0
down vote
favorite
Excuse me,
I'm working on my code about making a Document Firestore that could be delete, this is how my Firestore Database looks like :
Firestore Data Structure
I'd like to delete the Auto-ID Document after the Collection "X-MIPA.6". So, I followed the previous solution about "Firebase Cloud Firestore get auto-id of newly created document", so here is my code looks like :
My Code
But, when I tested, my app force closed and show me this Error :
The Error
How is it possible? How can I fix it?
I want to delete the Document based on the Auto-ID Document on my Firestore Database.
Thanks!
firebase google-cloud-firestore
2
Please replace the link to a pictures of code and error, with the actual code as text. Textual content should be included as text, to allow people to immediately see what you're doing, to make it accessible through search engines, and to make it easier to use the text to reproduce the problem or answer your question.
– Frank van Puffelen
Nov 18 at 16:07
pastebin.com/EbZFT1PH This is my code
– Reihan Alavi
Nov 18 at 22:18
At which line of code are you getting that error?
– Alex Mamo
Nov 19 at 9:20
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Excuse me,
I'm working on my code about making a Document Firestore that could be delete, this is how my Firestore Database looks like :
Firestore Data Structure
I'd like to delete the Auto-ID Document after the Collection "X-MIPA.6". So, I followed the previous solution about "Firebase Cloud Firestore get auto-id of newly created document", so here is my code looks like :
My Code
But, when I tested, my app force closed and show me this Error :
The Error
How is it possible? How can I fix it?
I want to delete the Document based on the Auto-ID Document on my Firestore Database.
Thanks!
firebase google-cloud-firestore
Excuse me,
I'm working on my code about making a Document Firestore that could be delete, this is how my Firestore Database looks like :
Firestore Data Structure
I'd like to delete the Auto-ID Document after the Collection "X-MIPA.6". So, I followed the previous solution about "Firebase Cloud Firestore get auto-id of newly created document", so here is my code looks like :
My Code
But, when I tested, my app force closed and show me this Error :
The Error
How is it possible? How can I fix it?
I want to delete the Document based on the Auto-ID Document on my Firestore Database.
Thanks!
firebase google-cloud-firestore
firebase google-cloud-firestore
asked Nov 18 at 14:03
Reihan Alavi
12
12
2
Please replace the link to a pictures of code and error, with the actual code as text. Textual content should be included as text, to allow people to immediately see what you're doing, to make it accessible through search engines, and to make it easier to use the text to reproduce the problem or answer your question.
– Frank van Puffelen
Nov 18 at 16:07
pastebin.com/EbZFT1PH This is my code
– Reihan Alavi
Nov 18 at 22:18
At which line of code are you getting that error?
– Alex Mamo
Nov 19 at 9:20
add a comment |
2
Please replace the link to a pictures of code and error, with the actual code as text. Textual content should be included as text, to allow people to immediately see what you're doing, to make it accessible through search engines, and to make it easier to use the text to reproduce the problem or answer your question.
– Frank van Puffelen
Nov 18 at 16:07
pastebin.com/EbZFT1PH This is my code
– Reihan Alavi
Nov 18 at 22:18
At which line of code are you getting that error?
– Alex Mamo
Nov 19 at 9:20
2
2
Please replace the link to a pictures of code and error, with the actual code as text. Textual content should be included as text, to allow people to immediately see what you're doing, to make it accessible through search engines, and to make it easier to use the text to reproduce the problem or answer your question.
– Frank van Puffelen
Nov 18 at 16:07
Please replace the link to a pictures of code and error, with the actual code as text. Textual content should be included as text, to allow people to immediately see what you're doing, to make it accessible through search engines, and to make it easier to use the text to reproduce the problem or answer your question.
– Frank van Puffelen
Nov 18 at 16:07
pastebin.com/EbZFT1PH This is my code
– Reihan Alavi
Nov 18 at 22:18
pastebin.com/EbZFT1PH This is my code
– Reihan Alavi
Nov 18 at 22:18
At which line of code are you getting that error?
– Alex Mamo
Nov 19 at 9:20
At which line of code are you getting that error?
– Alex Mamo
Nov 19 at 9:20
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f53361738%2fcant-get-auto-id-document-in-firestore%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
2
Please replace the link to a pictures of code and error, with the actual code as text. Textual content should be included as text, to allow people to immediately see what you're doing, to make it accessible through search engines, and to make it easier to use the text to reproduce the problem or answer your question.
– Frank van Puffelen
Nov 18 at 16:07
pastebin.com/EbZFT1PH This is my code
– Reihan Alavi
Nov 18 at 22:18
At which line of code are you getting that error?
– Alex Mamo
Nov 19 at 9:20