Author Archives: Google Devs

Firebase expands to become a unified app platform

Eighteen months ago, Firebase joined Google. Since then, our backend-as-a-service (BaaS) that handles the heavy lifting of building an app has grown from a passionate community of 110,000 developers to over 450,000.

Our current features -- Realtime Database, User Authentication, and Hosting -- make app development easier, but there’s more we can do, so today, we’re announcing a major expansion!

Firebase is expanding to become a unified app platform for Android, iOS and mobile web development. We’re adding new tools to help you develop faster, improve app quality, acquire and engage users, and monetize apps. On top of this, we’re launching a brand new analytics product that ties everything together, all while staying true to the guiding principles we’ve had from the beginning:

  • Developer experience matters. Ease-of-use, good documentation, and intuitive APIs make developers happy.
  • Work across platforms. We’ll support you whether you’re building for iOS, Web, or Android.
  • Integrate where possible. Firebase has one SDK, one console, and one place to go for documentation and support. You can mix-and-match any of our features and, where it makes sense, data flows between them to help you do more, faster.

Introducing Firebase Analytics

Firebase Analytics is our brand new, free and unlimited analytics solution for mobile apps. It benefits from Google’s experience with Google Analytics, but differs in a few important ways:

First, Firebase Analytics is user and event-centric. Instead of focusing on pageviews, screenviews, and sessions, it gives you insight into what your users are doing in your app. You can also see how your paid advertising campaigns are performing with cross-network attribution, which tells you where your users are coming from. You can see all of this from a single dashboard.

Second, Firebase Analytics is integrated with other Firebase offerings to provide a single source of truth for in-app activity and through a feature called Audiences. Audiences let you define groups of users with common attributes. Once defined, these groups can be accessed from other Firebase features -- to illustrate, we’ll reference Audiences throughout this post.

Develop Faster with Messaging, Storage, Config

To help you build better apps, our suite of backend services is expanding.

Google Cloud Messaging, the most popular cloud-to-device push messaging service in the world, is integrating with Firebase and changing its name to Firebase Cloud Messaging (FCM). Available for free and for unlimited usage, FCM supports messaging on iOS, Android, and the Web, and is heavily optimized for reliability and battery-efficiency. It’s built for scale and already sends 170 billion messages per day to two billion devices.

One of our most requested features is the ability to store images, videos, and other large files. We’re launching Firebase Storage so developers can easily and securely upload and download such files. Firebase Storage is powered by Google Cloud Storage, giving it massive scalability and allowing stored files to be easily accessed by Google Cloud projects. The Firebase Storage client SDKs have advanced logic to gracefully handle poor network conditions.

Firebase Remote Config gives you instantly-updatable variables that you can use to tune and customize your app on the fly to deliver the best experience to your users. You can enable or disable features or change the look and feel without having to publish a new version. You can also target configurations to specific Firebase Analytics Audiences so that each of your users has an experience that’s tailored for them.

In addition, we’re continuing to invest heavily in our existing backend products, Firebase Realtime Database, Firebase Hosting, and Firebase Authentication. Authentication has seen the biggest updates, with brand new SDKs, and an upgraded backend infrastructure. This provides added security, reliability, and scale using the same technologies that power Google’s own accounts. We’ve also added new Authentication features including email verification and account linking. For Hosting, custom domain support is now free for all developers, and the Database has a completely rebuilt UI. We’re working hard on other great Realtime Database features, stay tuned for those.

Introducing Test Lab and Crash Reporting

We’re adding two new offerings to Firebase to help you deliver higher quality apps.

When your app crashes, it’s bad for your users and it hurts your business. Firebase Crash Reporting gives you prioritized, actionable reports to help you diagnose and fix problems in your iOS or Android app after it has shipped. We’ve also connected Crash Reporting to Audiences in Firebase Analytics, so you can tell if users on a particular device, in a specific geography, or in any other custom segment are experiencing elevated crash rates.

Cloud Test Lab, announced last year at Google I/O, is now Firebase Test Lab for Android. Test Lab helps you find problems in your app before your users do. It allows for both automatic and customized testing of your app on real devices hosted in Google data centers.

Grow Your App with Notifications, Dynamic Links, and More

After you’ve launched your app, we can help you grow and re-engage users with five powerful growth features.

Firebase Notifications is a new UI built on top of the Firebase Cloud Messaging APIs that lets you easily deliver notifications to your users without writing a line of code. Using the Notifications console you can re-engage users, run marketing campaigns, and target messages to Audiences in Firebase Analytics.

Firebase Dynamic Links make URLs more powerful in two ways. First, they provide “durability” -- links persist across the app install process so users are taken to the right place when they first open your app. This “warm welcome” increases engagement and retention. Second, they allow for dynamically changing the destination of a link based on run-time conditions, such as the type of browser or device. Use them in web, email, social media, and physical promotions to gain insight into your growth channels.

Firebase Invites turns your customers into advocates. Your users can easily share referral codes or their favorite content via SMS or email to their network, so you can increase your app's reach and retention.

Firebase App Indexing, formerly Google App Indexing, brings new and existing users to your app from the billions of Google searches. If your app is already installed, users can launch it directly from the search results. New users are presented with a link to install your app.

AdWords, Google’s advertising platform for user acquisition and engagement, is now integrated with Firebase. Firebase can track your AdWords app installs and report lifetime value to the Firebase Analytics dashboard. Firebase Audiences can be used in AdWords to re-engage specific groups of users. In-app events can be defined as conversions in AdWords, to automatically optimize your ads, including universal app campaigns.

Monetize Your App With AdMob

To help you generate revenue from your app and build a sustainable business, we’ve integrated Firebase with AdMob, an advertising platform used by more than 1 million apps. We’ve made it easier to get started with AdMob when you integrate the Firebase SDK into your app. Using AdMob, you can choose from the latest ad formats, including native ads, which help provide a great user experience.

Introducing a New Console, Documentation, and SDK

Along with new feature launches, we’re moving our website and documentation to a new home: firebase.google.com.

We’re also launching a brand new console to manage your app. It is completely redesigned and rebuilt for improved ease of use, and we’ve deeply integrated it with other Google offerings, like Google Cloud and Google Play.

Firebase now uses the same underlying account system as Google Cloud Platform, which means you can use Cloud products with your Firebase app. For example, a feature of Firebase Analytics is the ability to export your raw analytics data to BigQuery for advanced querying. We’ll continue to weave together Cloud and Firebase, giving you the functionality of a full public cloud as you grow.

You can also link your Firebase account to Google Play from our new console. This allows data, like in-app purchases, to flow to Firebase Analytics, and ANRs (application not responding) to flow to Firebase Crash Reporting, giving you one place to check the status of your app.

Finally, we’re announcing the beta launch of a new C++ SDK. You can find the documentation and getting started guides here.

Announcing New Pricing Plans

We’re excited to announce that most of these new products, including Analytics, Crash Reporting, Remote Config, and Dynamic Links, are free for unlimited usage.

For our four paid products: Test Lab, Storage, Realtime Database, and Hosting, we’re announcing simpler pricing. We now offer:

  • A free plan with generous limits
  • A fixed-rate plan for early-stage startups who need a predictable monthly price
  • A metered pay-as-you-go plan that scales with the largest apps

Some Things Stay the Same

Many things are changing, but Firebase’s core principles remain the same. We care deeply about providing a great developer experience through easy-to-use APIs, intuitive interfaces, comprehensive documentation, and tight integrations. We’re committed to cross-platform development for iOS, Android, and the Web, and when you run into trouble, we’ll provide support to help you succeed.

If you were using a Firebase feature before today -- like the Realtime Database, GCM, or App Indexing -- there’s no impact on your app. We’ll continue to support you, though we recommend upgrading to the latest SDK to access our new features.

More to Come

As far as we’ve come, this is still early days. We’ll continue to refine and add to Firebase. For example, the JavaScript SDK does not yet support all the new features. We’re working quickly to close gaps, and we’d love to hear your feedback so we can improve. You can help by requesting a feature.

Get Started!

All the new features are ready-to-go, and already in use by apps like Shazam, SkyScanner, PicCollage, and more. Get started today by signing up, visiting our new site, or reading the documentation to learn more.

We can’t wait to hear what you think!

Scratch and Google Introduce Scratch Blocks

Posted by Champika Fernando, Product Manager, Google and Kasia Chmielinski, Product Lead, Scratch

Today, we announced a collaboration with the MIT Media Lab’s Scratch Team on the development of a new generation of graphical programming blocks, called Scratch Blocks. Released as an open-source developer preview today, Scratch Blocks builds on Google’s Blockly technology and the Scratch Team’s expertise in designing creative interfaces for young learners.

Scratch Blocks represents the first step in a broader effort, focused on developing new software toolkits that enable developers to create consistent, high-quality programming experiences for kids everywhere.

Since its launch in 2007, Scratch has empowered more than 11 million young people globally to create more than 14 million games, animations, and stories, and to share their creations with others in the Scratch online community. (source: https://scratch.mit.edu/statistics/)

Dance Party 3.0 project by ArtsyGal on Scratch

Like the Scratch Team, we believe that coding is more than just a set of technical skills; coding is a valuable tool for everyone, empowering kids (and adults) to imagine, invent and explore.

Today, we’re releasing an early developer preview of the Scratch Blocks horizontal grammar - an icon-based grammar that’s optimized for small screens, and is ideal for beginner-friendly experiences (see screenshot below). We also have plans to support the vertical, text-based grammar that’s already familiar to today’s users of Scratch.

This prototype implementation of Scratch Blocks controls a LEGO WeDo 2.0 device over a bluetooth connection.

We’re also continuing to improve Blockly, the technology underlying Scratch Blocks. Today, we open-sourced a native Android version of Blockly that supports building better experiences on tablets, and we plan to open-source an iOS version later this year. We've also made significant improvements to the performance of web Blockly, enabling better rendering performance on mobile devices.

Scratch Blocks will be featured at I/O Youth on May 17, 2016, and in the “Developing for Kids” Sandbox at Google I/O from May 18-20, 2016 at the Shoreline Amphitheatre in Mountain View, CA. Learn more about Scratch Blocks at scratch.mit.edu/developers. Learn more about Blockly at developers.google.com/blockly.

Get ready for Google I/O 2016

Posted by Mike Pegg, Head of Developer Marketing

Google I/O is almost here! We’ll kick-off live from the Shoreline Amphitheatre in Mountain View at 10AM PDT next Wednesday, May 18th. This year’s festival will focus on key themes that matter to you: Develop, to build high quality apps; Grow & Earn, to increase user engagement and create successful businesses; and What’s Next, a look at new platforms for future growth.

While we’re putting the finishing touches on the keynote, sessions, and code labs, we wanted to provide you with some tips to get ready to experience I/O, either in-person or offsite.

Navigate the conference with the Web & Mobile apps

To get the most out of Google I/O, make sure to install the Android or iOS app and add the web app to your mobile homescreen. The apps will help you plan your schedule (even while offline!), view the venue map, and keep up with the latest I/O details.



Attending in person?

Badge pick-up starts on Tuesday, May 17th, between 7AM - 7PM at the Shoreline Amphitheatre. Keynote seating will be pre-assigned on a first come, first served basis during badge pick-up so plan to come by early on! Remember to bring your ID, the QR code that will be emailed to you before the conference, proof of academic eligibility if you registered for an Academic badge, and your best look for the badge photo! Find the full badge pick-up schedule here.

After the keynote ends, in addition to attending technical sessions, you’ll have the opportunity to talk directly with Google engineers throughout the Sandbox space which will feature multiple product demos and activations; during Code Labs where you can complete self-paced tutorials; and at Office Hours where you can get specific questions answered by Google specialists.

Don’t forget to bring your (comfortable) party shoes! On Day 1, we’ll have an After Hours Concert from 7-10PM that will include dinner, drinks, and feature some exciting musical performances we think you’ll enjoy! On Day 2, we’ll have an After Hours Party from 8-10PM which also includes food, drinks and lots of fun activities. Enjoy the time to explore the venue at dusk - it will look quite different than during the day. We recommend bringing a jacket for the evening festivities as it can get chilly after dark.

Attending remotely?

Whether you’re looking to experience I/O with other devs in your neighborhood, or if you’ll be streaming it live from your couch, here are some ways you can connect with I/O in real-time:

  • I/O Extended: Find an I/O Extended event happening in your community. There’ll be over 450 events taking place around the world organized by Google Developer Groups, Student Ambassadors, and local developers who will be watching the I/O keynote together, participating in hackathons, code labs, and much more.
  • I/O Live: Tune into the live stream throughout the 3 day festival on google.com/io and via the Android and iOS app. If you want to bring the live stream and the #io16 conversation to your audience, you can customize and embed our I/O Live widget on your site or blog.
  • #io16request: Send us your I/O questions on May 18-20 via public english posts on Google+ or Twitter that include the #io16request hashtag. A team of onsite Googlers will do their best to track down an answer in real time for you.
  • I/O in photos: Be sure to check out real time photos from Mountain View on all three days of the event.

We’re looking forward to having you with us for 3 days of I/O fun, soon!

Don’t forget to join the social conversation at #io16!