Zero to App: Develop with Firebase - Google I/O 2016

By: Firebase

1589   43   145840

Uploaded on 05/20/2016

Firebase helps mobile and web developers create extraordinary apps. It abstracts complex infrastructure and simplifies the development process. By using Firebase, developers can build the best user experience in the shortest amount of time, all without having to spin up servers or manage infrastructure. We explore how Firebase authenticates users and synchronizes data by creating an app on stage. You'll experience first hand how easy it is to build with Firebase!

The code is on Github:
Android: https://gist.github.com/puf/f49a1b07e92952b44f2dc36d9af04e3c 🔥
iOS: https://gist.github.com/mcdonamp/cc45567cd95ba2a62017cb21e891effd 🔥
JS: https://gist.github.com/puf/8f67d3376d80ed2d02670d20bfc4ec7d 🔥

Watch more Firebase talks at I/O 2016 here: https://goo.gl/JTH9Fr
See all the talks from Google I/O 2016 here: https://goo.gl/olw6kV
Subscribe to the brand new Firebase Channel: https://goo.gl/9giPHG -

Get started using Firebase today https://goo.gl/gCHr6r

#io16 #GoogleIO #GoogleIO2016 #Firebase

Comments (8):

By anonymous    2017-09-20

Firebase Storage doesn't sync files the same way the Firebase Realtime Database does.

You want to use the Database to sync file changes, as shown in a bunch of other SO posts (like this one: Swift Firebase Storage How to retrieve image with unknow name(NSUUID), which has the exact code you want), as well as our I/O talk Zero to App and it's source code

Alternatively, you can just store the etag or md5 hash locally and do a metadata fetch, check to see if they're the same, and if they aren't, fetch the new one.

Original Thread

By anonymous    2017-09-20

You are using the Firebase and its one of the main feature is the real-time database. Firebase will automatically let you know if there is any change in your JSON database. You no need to send the request in interval basic.

You can refer Zero to App: Develop with Firebase - Google I/O 2016 It is also a messaging app demo by the Google Guys.

You can find the sample source code in Github to send and receive the message in real-time.

Original Thread

By anonymous    2017-09-20

Store either the gs:// URI or an https:// download URL in the Realtime Database, and use Storage (or an HTTP library) to download it.

See the video and source code for Zero to App for one way of doing it.

Original Thread

By anonymous    2017-10-30

I'd take a look at:

From the docs, it's pretty simple to download a file:

StorageReference videoRef = storageRef.child("videos/myvideo.mp4");

final long ONE_MEGABYTE = 1024 * 1024;
videoRef.getBytes(ONE_MEGABYTE).addOnSuccessListener(new OnSuccessListener<byte[]>() {
    @Override
    public void onSuccess(byte[] bytes) {
        // Transform bytes to a video, play
    }
}).addOnFailureListener(new OnFailureListener() {
    @Override
    public void onFailure(@NonNull Exception exception) {
        // Handle any errors
    }
});

Original Thread

By anonymous    2017-11-27

I'd recommend watching Zero to App and checking out the associated Android source code.

Original Thread

Popular Videos 276

Submit Your Video

If you have some great dev videos to share, please fill out this form.