Flutter - Configuring Firebase for Android and iOS

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ต.ค. 2024

ความคิดเห็น • 40

  • @aritradattagupta9181
    @aritradattagupta9181 6 ปีที่แล้ว +5

    Hey Brandon,
    Thank you so much for your Flutter tutorials.
    I was wondering whether you could make a tutorial series on cloud firestore. What I mean is that the tutorial could focus on authenticating a user through google sign in and then the user would be able to upload his stuff like images and texts to the cloud firestore. And also explain what cloud firestore security rules are and how to define them.
    I really hope you would consider doing this tutorial as it would help a lot of developers understand those concepts including me.
    Till then, keep on Fluttering.
    Thanks

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว +1

      Thanks for the feedback and thank you too. I have prepped for a cloud firestore, and I'm excited to record it soon. I think this upcoming weekend I should have time. I'm working my way to doing a video on the rules too. Thanks for the feedback.

    • @aritradattagupta9181
      @aritradattagupta9181 6 ปีที่แล้ว +1

      Brandon Donnelson Thanks for the update. Waiting eagerly for the next upload.

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว

      I'm aiming to record on or by Saturday.

  • @josiahsaunders7358
    @josiahsaunders7358 5 ปีที่แล้ว

    You're my new favorite person. Thank you! This saved me a lot of head ache.

  • @sarahahmed2112
    @sarahahmed2112 5 ปีที่แล้ว +1

    I have multiple problems. One of them is that I can not find the firestore plugin in the github repository, the other one is that once I edit the app module gradle a red line appears and it highlights Properties() and GradleException() and says it can not resolve symbols. Any solutions to either one of these errors?

  • @danielcoloradog
    @danielcoloradog 4 ปีที่แล้ว

    Thank You !!. Greetings from Colombia

  • @cynido
    @cynido 5 ปีที่แล้ว +1

    hey brandon,i am just getting started with flutter,i am not getting 'sync now' suggestion in vscode (like in android studio) when i change the build gradle file.so im having a hard time linking the app with firebase,what should i do?
    good videos btw,thank you.

  • @SureshKumarMajhi
    @SureshKumarMajhi 6 ปีที่แล้ว

    Hi Brandon, thanks for this informative video. I've one confusion, the example in this link - pub.dartlang.org/packages/cloud_firestore#-example-tab- it has mentioned using one "firestore.settings()" thing inside the main() method. But, in your video you've not mentioned anywhere about this. Due to this, I'm bit confused right now.

  • @atabayilker
    @atabayilker 4 ปีที่แล้ว +1

    I hate how apple is forcing users to use xcode (buy a mac)...

  • @kyleharms10
    @kyleharms10 5 ปีที่แล้ว

    I followed all of your steps exactly, but when you go to finally run the app and send something to the firebase, the app does not even open on the simulator. Any thoughts?

  • @songrit
    @songrit 6 ปีที่แล้ว +2

    Could you show how to maintain Firebase with local data so the app can be used during offline and sync when online?

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว +1

      Great idea. I've added that to my queue. In the mean time this might be of interest.
      FirebaseDatabase.instance.setPersistenceEnabled(true);
      FirebaseDatabase.instance.setPersistenceCacheSizeBytes(100); // max 1e+8 bytes supported
      FirebaseDatabase.instance.reference().child("/path/of/child").keepSynced(true);
      FirebaseDatabase.instance.goOffline();

  • @rakeshlahkar7313
    @rakeshlahkar7313 6 ปีที่แล้ว +1

    Getting an error while trying to get sha1 code:
    -alias androiddebugkey -keystore ~/.android/debug.keystore
    keytool error: java.lang.Exception: Only one command is allowed: both -exportcert and -list were specified.

    • @brianmartindunn
      @brianmartindunn 5 ปีที่แล้ว

      This is a due to an error in the Firebase site. You need to delete -list from the command.

  • @jestynshoyoola5339
    @jestynshoyoola5339 4 ปีที่แล้ว

    Hello Brandon Donnelson I am having this error
    D:\Flutter app\Course flutter\ftslutter_app>keytool -list -v \
    'keytool' is not recognized as an internal or external command,
    operable program or batch file.

  • @huule7539
    @huule7539 6 ปีที่แล้ว +1

    Hi. I have a problem. I added package cloud_firestore to pubsec.yaml and then cant build app.
    There is debug console log:
    Failed to notify dependency resolution listener.
    > The library com.google.android.gms:play-services-measurement-base is being requested by various other libraries at [[16.0.0,16.0.0]], but resolves to 15.0.2. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
    > The library com.google.firebase:firebase-analytics is being requested by various other libraries at [[16.0.1,16.0.1]], but resolves to 15.0.2. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.

    • @Fluffynix
      @Fluffynix 6 ปีที่แล้ว

      Hello, did you manage to solve that problem?

  • @clauschocho8171
    @clauschocho8171 5 ปีที่แล้ว

    HI! Maybe you help me? I am trying compile ios app, I hace already flutter build ios - -release but when a create Product/Archive on Xcode, it generarte an error that say firebase messaging plugin.h not found, Maybe yo have an idea? Thanks

  • @experiences-342
    @experiences-342 3 ปีที่แล้ว

    Hi. I'm getting error called 'FirebaseUser' not found' in ios build. How can i fix it ?

  • @antd1857
    @antd1857 6 ปีที่แล้ว

    (1) Is it possible for each App installed to have it own database. (2) Can the each App receive data from the other App and then store it in its database? Thanks for the video.

  • @ThanhNguyen-xg7un
    @ThanhNguyen-xg7un 5 ปีที่แล้ว

    Very useful thanks!

  • @crischen4376
    @crischen4376 6 ปีที่แล้ว

    shows me is "'-alias' is not recognized as an internal or external command,
    operable program or batch file." when I run paste the line to the terminal

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว

      That sounds like a problem with the command on the command line. This is a shot in the dark, but I think if you remove the line returns it should fix it.

  • @Cnuggets
    @Cnuggets 5 ปีที่แล้ว

    getting this error "keytool error: java.lang.Exception: Only one command is allowed: both -exportcert and -list were specified."

    • @Cnuggets
      @Cnuggets 5 ปีที่แล้ว

      never mind this worked for mr "keytool -list -v -alias androiddebugkey -keystore ~/.android/debug.keystore -storepass android -keypass android"

  • @zuhair95
    @zuhair95 6 ปีที่แล้ว

    I had this error in ther terminal (windows used)
    tool error: java.lang.Exception: Keystore file does not exist: C:\Users\Zuhair\.keystore
    java.lang.Exception: Keystore file does not exist: C:\Users\Zuhair\.keystore

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว +1

      I'm not sure this will help, but this looks like it might help. stackoverflow.com/questions/42663114/keystore-file-does-not-exist

  • @sachidanandpandit2187
    @sachidanandpandit2187 6 ปีที่แล้ว

    Please tell me how add simulator in android studio

  • @BiggestNano
    @BiggestNano 6 ปีที่แล้ว

    Haven't you already made videos covering this?

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว +1

      I was wondering if someone would notice. Yes, this is a bit redundant, although I've added what I think are some important notes to some of the steps. Some of the steps have changed slightly as well, since the last iteration. I didn't really want to leave folks with holes when I started covering more of the firebase features either. And I wanted to cover some more of the Firestore steps.

    • @sunitgautam7547
      @sunitgautam7547 6 ปีที่แล้ว

      Really grateful that you did so!

  •  5 ปีที่แล้ว

    can you do a video on youtube v3 api with flutter? i'd kiss you

  • @sezzed5663
    @sezzed5663 4 ปีที่แล้ว +2

    I wish I could give two likes.

  • @BestGames4k
    @BestGames4k 6 ปีที่แล้ว

    When i run the proyect it work but the console shows some messages like
    Xcode build done
    4.13.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: goo.gl/ctyzm8.
    And that link takes me to the docs with the steps of this video. Do we need to add the configure lines in UIApplicationDelegate?? Thanks for the video!!

    • @BrandonDonnelson
      @BrandonDonnelson  6 ปีที่แล้ว

      You shouldn't have to do any wiring other than what I showed in the video for iOS. The only thing I've found I've had to do was import the google services.plist file. Once finished with that flutter should run the iOS build system when it initializes. I'd also ask in StackOverflow. I'm not sure how this edge case popped up yet. I'll load the platform code in xcode and try debugging there too, that can help find the error too.

  •  5 ปีที่แล้ว +1

    soooo doesn't own a mac, can't do the ios part? GJ google

    • @MadewithFlutter
      @MadewithFlutter 4 ปีที่แล้ว

      Use virtual box to emulate iOS :D