Announcement

Collapse
No announcement yet.

Ultimate Mobile Kit for iOS & Android - Firebase

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    #91
    New function - Sign In With Google

    You can call Firebase Authentication Sign In With Google function to login with Google Account and Google Play Games Account. After successful login you are able to obtain Id Token and Server Auth Code needed for Firebase Google Credential and Firebase Google Play Games Credential.




    Examples of Sign In/Link With Credential



    Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

    Comment


      #92
      Cloud Functions




      Cloud Functions for Firebase lets you automatically run backend code in response to events triggered by Firebase features and HTTPS requests. Your code is stored in Google's cloud and runs in a managed environment. There's no need to manage and scale your own servers.

      The functions you write can respond to events generated by these other Firebase and Google Cloud features:
      • Firebase Authentication Triggers
      • Firebase Analytics Triggers
      • Firebase Crashlytics Triggers
      • Firebase Cloud Storage Triggers
      • Firebase Realtime Triggers
      • Cloud Pub/Sub Triggers
      • HTTP Triggers
      • Cloud Firestore Triggers

      Support for Firebase Cloud Functions is already enabled in the Ultimate Mobile Kit plugin.

      Deploy your JavaScript or TypeScript code to Google servers with one command from the command line. After that, Firebase automatically scales up computing resources to match the usage patterns of your users. You never worry about credentials, server configuration, provisioning new servers, or decommissioning old ones.
      In many cases, developers prefer to control application logic on the server to avoid tampering on the client side. Also, sometimes it's not desirable to allow that code to be reverse engineered. Cloud Functions is fully insulated from the client, so you can be sure it is private and always does exactly what you want.


      How does it work?
      After you write and deploy a function, Google's servers begin to manage the function immediately, listening for events and running the function when it is triggered. As the load increases or decreases, Google responds by rapidly scaling the number of virtual server instances needed to run your function.


      Lifecycle of a function

      1. The developer writes code for a new function, selecting an event provider (such as Realtime Database), and defining the conditions under which the function should execute.
      2. The developer deploys the function, and Firebase connects it to the selected event provider.
      1. When the event provider generates an event that matches the function's conditions, the code is invoked.
      3. If the function is busy handling many events, Google creates more instances to handle work faster. If the function is idle, instances are cleaned up.
      4. When the developer updates the function by deploying updated code, all instances for the old version are cleaned up and replaced by new instances.
      5. When a developer deletes the function, all instances are cleaned up, and the connection between the function and the event provider is removed.


      What Can I Do with Firebase Cloud Functions?

      1. Notify players when something interesting happens
      • Send message to the player when he completes for example 10 achievements.
      • Send confirmation emails to players subscribing/unsubscribing to a newsletter.
      • Send a welcome email when a user completes tutorial.
      • Send an SMS confirmation when player creates a new account.
      2. Perform Realtime Database sanitization and maintenance
      • Convert text to emoji.
      • Purge a deleted user’s content from Realtime Database
      • Limit the number of child nodes in a Firebase database.
      • Track the number of elements in a Realtime Database list.
      • Copy data from Realtime Database to Google Cloud BigQuery.
      • Manage computed metadata for database records.
      3. Execute intensive tasks in the cloud instead of in your game
      • Periodically delete unused Firebase accounts.
      • Automatically moderate uploaded images.
      • Send bulk email to users.
      • Aggregate and summarize data periodically.
      • Process a queue of pending work.
      4. Integrate with third-party services and APIs
      • Use Google Cloud Vision API to analyze and tag uploaded images.
      • Translate messages using Google Translate.
      • Use auth providers like LinkedIn or Instagram to sign in users.
      • Send a request to a webhook on Realtime Database writes.
      • Enable full-text search on Realtime Database elements.
      • Process payments from users.
      • Create auto-responses to phone calls and SMS messages.
      • Create a chatbot using Google Assistant.
      5. And much more… practically infinite possibilities…
      Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

      Comment


        #93
        A/B Testing



        When you are updating your game and using Firebase Remote Config to push it to an game with an active user base, you want to make sure you get it right. You might be uncertain about the following:
        • The best way to implement a feature to optimize the user experience. Too often, game developers don't learn that their players dislike a new feature or an updated user experience until their game’s rating in the app store declines. A/B testing can help measure whether your players like new variants of features, or whether they prefer the game as it currently exists. Plus, keeping most of your players in a control group ensures that most of your user base can continue to use your game without experiencing any changes to its behavior or appearance until the experiment has concluded.
        • The best way to optimize the user experience for a business goal. Sometimes you’re implementing product changes to maximize a metric like revenue or retention. With A/B testing, you set your business objective, and Firebase does the statistical analysis to determine if a variant is outperforming the control group for your selected objective.

        To A/B test feature variants with a control group, do the following:

        1. Create your experiment.
        2. Validate your experiment on a test device.
        3. Manage your experiment.

        Support for Firebase A/B Testing is already enabled in the Ultimate Mobile Kit plugin.
        Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

        Comment


          #94
          Predictions (Machine Learning)



          Firebase Predictions applies machine learning to your analytics data to create dynamic user groups based on your players' predicted behavior. These predictions are automatically available for use with Firebase Remote Config, the Notifications composer, and A/B testing.

          When you use Predictions with Remote Config, you can increase conversions by providing a custom experience based on each of your users' predicted behavior.

          You can use Predictions with the Notifications composer to deliver the right message to the right user groups.

          And, with A/B testing, you can evaluate the effectiveness of your prediction-based strategies.

          Support for Firebase A/B Testing is already enabled in the Ultimate Mobile Kit plugin.



          Key capabilities:
          • Bring the power of Google’s machine learning to your data – Firebase Predictions applies Google's expertise in machine learning to your analytics data, creating dynamic user groups based on users' predicted behavior. With Google's powerful machine learning, you can make product decisions based on predicted behavior, rather than historic behavior.
          • Boost conversions through dynamic, customized user experiences – Firebase Predictions is integrated with Remote Config, letting you customize a player’s experience based on their predicted behavior. For example, for players who are predicted to spend, you can show a new in-app purchase bundle, while for players who are predicted to not spend, you can adjust the frequency of ads. Groups update dynamically over time as an individual's prediction changes, so you can always offer a fresh, personalized experience to your players.
          • Increase retention with smarter notifications – re-engaging a player who has already stopped using your game is tough. By using Predictions, you can engage players who are predicted to churn, before they ever stop using your game.
          • Create custom predictions – in addition to the built-in predictions - will churn, will not churn, will spend, and will not spend - Firebase Predictions allows you to create predictions based on any conversion event in your analytics data. Once you define the event, Predictions creates a dynamic user group composed of players who are predicted to complete that event in your game.


          How does it work?
          Predictions are available for iOS and Android games that include the Firebase Analytics SDK. Predictions creates dynamic groups of players who are likely to complete a certain event over the next 7 days. You can use these groups to target users with Remote Config and the Notifications composer.

          By default, Predictions provides two types of predictions: churn, which predicts which users will disengage from your game over the next 7 days (that is, they will not open the game or game-related notification messages), and spend, which predicts which players will spend money in your game over the next seven days. You can also create your own predictions based on custom conversion Analytics events that you collect in your game.

          Predictions lets you adjust the risk tolerance of a prediction so that you can strike the right balance between targeting fewer users with more accuracy, or more users with less accuracy, and it shows you what percentage of your user base will be targeted at each risk tolerance level. The machine learning model for your game improves as the amount and relevance of data collected using Analytics increases, and as your number of users increases. In addition, the accuracy of the model for a specific user will improve further after that user has used the game for at least a few days.

          Predictions creates groups of players, called predicted user groups. You can send notifications to the predicted user groups. Or, you can change the behavior or appearance of app instances used by predicted user groups using Remote Config.
          Last edited by gameDNA studio; 04-10-2018, 12:07 PM.
          Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

          Comment


            #95
            Hosting



            Firebase Hosting provides fast and secure static hosting for your web app.

            Firebase Hosting is production-grade web content hosting for developers. With Hosting, you can quickly and easily deploy web apps and static content to a global content-delivery network (CDN) with a single command.


            Support for Firebase Hosting is already enabled in the Ultimate Mobile Kit plugin.


            Key capabilities:
            • Served over a secure connection – the modern web is secure. Zero-configuration SSL is built into Firebase Hosting so content is always delivered securely.
            • Fast content delivery – each file you upload is cached on SSDs at CDN edges around the world. No matter where your users are, the content is delivered fast.
            • Rapid deployment – using the Firebase CLI, you can get your app up and running in seconds. Command line tools make it easy to add deployment targets into your build process.
            • One-click rollbacks – quick deployments are great, but being able to undo mistakes is even better. Firebase Hosting provides full versioning and release management with one-click rollbacks.


            How does it work?
            Firebase Hosting is built for the modern web developer. Static sites are more powerful than ever with the rise of front-end JavaScript frameworks like Angular and static generator tools like Jekyll. Whether you are deploying a simple app landing page or a complex Progressive Web App, Hosting gives you the infrastructure, features, and tooling tailored to deploying and managing static websites.

            Hosting gives your project a subdomain on the firebaseapp.com domain. Using the Firebase CLI, you can deploy files from local directories on your computer to your Hosting server. Files are served over an SSL connection from the closest edge server on Google’s global CDN.

            In addition to static content hosting, Firebase Hosting offers lightweight configuration options for you to be able to build sophisticated Progressive Web Apps. You can easily rewrite URLs for client-side routing or set up custom headers.
            Once you're ready to take a site to production, you can connect your own domain name to Firebase Hosting. Firebase automatically provisions an SSL certificate for your domain so all your content is served securely.
            Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

            Comment


              #96
              Test Lab



              Firebase Test Lab for Android runs tests against a test matrix that you create to validate your game across a range of device types and device configurations. To understand how this works, we first need to explain test dimensions and test executions.
              • Test Dimension. A test dimension is a set of related device attributes. The dimensions used by Test Lab are model, Android API level, locale, and screen orientation.
              • Test Execution. Each valid combination of test dimensions that you select for your test matrix is a test execution. Test Lab supports testing your game on up to 200 unique combinations at a time. You can select the specific model and Android API level combinations to use when testing your game to focus your testing; for example, when you are validating a bug fix. Each test execution can either pass or fail. If one test execution fails, the whole test matrix is marked as failed.
              • Test Matrix. The test matrix is the set of test executions that you select. When you run your game test on a test matrix, you get test results for each valid test execution created by combining test dimension attributes.



              Automating game testing is challenging because of the wide range of UI frameworks used for game development (some of which are engine-dependent), and the difficulties of automating UI navigation in games. To support game app testing, Test Lab now includes support for using a "demo mode" where the game app runs while simulating the actions of a player. This mode can include multiple loops (or scenarios).

              To use the game loop test in Test Lab, your game must be modified to do the following:
              1. Launch the loop
              2. Run the loop
              3. Close the game app




              You should call function Firebase Test Lab Get Game Loop Scenario when your game is launched (for example in Event BeginPlay in the main level). You can then implement your game loop (or multiple loops) based on provided Game Loop Scenario. For example, game loops can be used to:
              • Run a level of your game the same way an end user would play it. You can either script the input of the player, let the player idle, or replace the user with an AI if it makes sense in your game (for example, if you already have an AI implemented, like in a car racing game, and you can easily put an AI driver in charge of the player's input).
              • Run your game at the highest quality setting to see if devices support it.
              • Run a technical test (compile multiple shaders, execute them, check that the output is as expected, etc).


              At any point in your test where you want to take a screenshot, call the Firebase Test Lab Take Screenshot method, where the argument is a label that you use to identify the screenshot (TestLabel is used in the example). After your test has completed, you can compare any screenshots taken during testing by selecting an element in the test results tree and then clicking the View Screenshots option.

              You can also support multiple game loops in your game app. For example, if you have multiple levels in your game, you might want to have one game loop to launch each level instead of having one loop that iterates through all of them.

              That way, if your game crashes on level 32 you can directly launch that game loop to try and reproduce the crash and to test bug fixes.

              For example, if you have 5 game loops in your game go to Project Settings -> Ultimate Mobile Kit -> Firebase Test Lab and set Number Of Game Loops to 5.



              Then, when you launch Test Lab Test Loop Manager, you can select which loop to launch. If you select multiple loops to launch, it launches each loop in sequence after the preceding loop completes. In each loop you can call Firebase Test Lab Get Game Loop Scenario and get current Scenario (Loop Number) in order to make actions based on this. Scenario parameter is in the range of 1 to the maximum number of loops supported.



              At the end of your test you should close the game using Firebase Test Lab Finish Test.

              Generally, the game loop test allows the UI framework to start the next loop. If you do not close the game, the UI framework running your loops won't know that the test has finished, and may terminate the game after some time has passed.
              Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

              Comment


                #97


                The next big update for Ultimate Mobile Kit Firebase!

                We are crazy! After 10 days of previous big update we released another one! Many improvements, bugfixes, Google Play Games authentication, Sign In With Google, and four new Firebase modules: Test Lab, Predictions (Machine Learning), A/B Testing, and Cloud Functions.


                CHANGELOG:
                • Added support for Google Play Games authentication. Your players can login now to Firebase using Google Play Games.
                • Added new login method: Sign In With Google. Useful for obtaining Id Token and Auth Server Code for login with Google Account and Google Play Games.
                • Added Firebase Test Lab module. Test your games on physical and virtual devices hosted by Google that allow you to run tests that simulate actual usage environments.
                • Added support for Firebase Predictions (Machine Learning). Use the power of Google's machine learning to create dynamic user groups based on players' predicted behavior.
                • Added support for Firebase A/B Testing. Create experiments to optimize the users experience for a business goal.
                • Added support for Firebase Cloud Functions. Run backend code without managing servers and keep your logic private and secure.
                • Firebase SDK updated to 4.5.0
                • Google Play Services updated to 12.0.1
                • Added MD5 Hash to the Firebase Storage Metadata
                • Added support for accessing user metadata.
                • Added Phone Number to the user info.
                • Added a link URL to messages sent to users.
                • Added Message Forwarding Service for Firebase Push Notifications.
                • Fixed occasional crash in Firebase Get File and Firebase Put File on IOS.
                • Fixed a problem with updating user's Display Name.
                • Fixed a problem with not registering multiple parameters in Firebase Analytics Log Event.
                • Fixed calculating FetchTime and ThrottledEndTime in Firebase Remote Config Info.
                • Fixed stability of Firebase Storage Get Metadata and Firebase Storage Update Metadata.
                • Fixed calculating CreationTime, Generation, MetadataGeneration, SizeBytes, and UpdatedTime in Firebase Storage Metadata.
                • Fixed UpdateMetadata when Custom Metadata is empty.
                • Fixed stability of Firebase Storage Reference.
                • Fixed stability of passing parameters to Firebase Send Invite function.
                • Fixed stability of sending messages in Firebase Cloud Messaging.
                • Updated ProGuard rules.
                • Improved overall performance and stability.
                • And other minor bugfixes.



                Buy now on Sellfy (20% OFF): https://sellfy.com/p/fc9C/
                Buy now on Marketplace: https://www.unrealengine.com/marketp...e-kit-firebase
                Last edited by gameDNA studio; 04-16-2018, 08:13 AM.
                Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                Comment


                  #98
                  We are developing a mobile app and rely on Firebase deeply in our product.
                  Just wanted to give a big thumbs up to the guys at gameDNA studio - you are doing an amazing job!
                  Definitely one of the best and most useful plugins by far - a must for mobile apps.

                  Keep up with the awesome and personal support - thanks again!

                  Comment


                    #99
                    We are developing a mobile app and rely on Firebase deeply in our product.
                    Just wanted to give a big thumbs up to the guys at gameDNA studio - you are doing an amazing job!
                    Definitely one of the best and most useful plugins by far - a must for mobile apps.

                    Keep up with the awesome and personal support - thanks again!
                    Thank you very much for this kind of words! Good luck with your app!
                    Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                    Comment


                      Ultimate Mobile Kit 1.8.1 for UE 4.19 released!


                      We've just released plugin binaries for Unreal Engine 4.19.
                      You can download it from GitHub repository on releases tab or your Sellfy dashboard (for Sellfy customers). Update also was submitted for UE4 Marketplace but it needs to wait for approval.



                      CHANGELOG:
                      • Implemented changes for new GDPR law in European Union (General Data Protection Regulation)
                      • Google Play Services updated to 15.0.1
                      • Firebase SDK for Android updated to 15.0.1
                      • Firebase SDK for IOS updated to 5.0.1


                      If you haven't owned it yet, you can buy now on Sellfy or UE4 Marketplace.
                      Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                      Comment


                        Question; You don't plan on updating plugins for older versions of UE4? I use 4.17.2 and the nodes I can find in the editor differ greatly from the nodes you listed here. Crashlytics, for instance.

                        Comment


                          Originally posted by netcop0207 View Post
                          Question; You don't plan on updating plugins for older versions of UE4? I use 4.17.2 and the nodes I can find in the editor differ greatly from the nodes you listed here. Crashlytics, for instance.
                          Hello netcop0207,

                          Unfortunately, we are not able to release new features for older engine versions because implementation for previous engines is different. We always recommend to update to the newest engine version.
                          Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                          Comment


                            Originally posted by gameDNA studio View Post

                            Hello netcop0207,

                            Unfortunately, we are not able to release new features for older engine versions because implementation for previous engines is different. We always recommend to update to the newest engine version.

                            As I feared. Well, then you should make that explicit. There's no such info on the document. I believe some people don't have luxury of simply converting their projects to one of the newer versions for good reasons, like me.

                            Comment


                              Originally posted by netcop0207 View Post


                              As I feared. Well, then you should make that explicit. There's no such info on the document. I believe some people don't have luxury of simply converting their projects to one of the newer versions for good reasons, like me.

                              Epic Games also doesn't support older versions. I'm sorry again about that but with every engine version there are serious changes (for the better!) so we still highly recommend to upgrade to the newest engine version because plugin will be more stable, reliable, efficient and have more features.
                              Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                              Comment


                                Ultimate Mobile Kit 1.8.2 for UE 4.19 released!


                                We've just released plugin binaries for Unreal Engine 4.19.
                                You can download it from GitHub repository on releases tab or your Sellfy dashboard (for Sellfy customers). Update also was submitted for UE4 Marketplace but it needs to wait for approval.



                                CHANGELOG:
                                • Firebase SDK updated to 5.0.0
                                • Completely disable Analytics if not enabled in Project Settings.


                                If you haven't owned it yet, you can buy now on Sellfy or UE4 Marketplace.
                                Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                                Comment

                                Working...
                                X