Announcement

Collapse
No announcement yet.

Ultimate Mobile Kit for iOS & Android - Firebase

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

    Originally posted by gameDNA studio View Post


    Hello,

    I see you use very outdated 4.18 version of UE4. This is almost 1.5 years old. In this version Firebase Invities doesn't work. You can turn this off or migrate to the newer engine version what is highly recommended because of new features and many bugfixes.

    My team's using 4.18 for a reason, so although new features and less bugs sound great, migrating is not an option for us.

    Anyway, it works!
    After disabling Invites, the packaging was successful, and now both google play service and firebase analytics are successfully initiated.
    I never thought it could be solved this easily.

    Thanks a lot for your help!


    EDIT : Actually, one more thing.
    In the application, it says the analytics is initiated but there's nothing on the Firebase console.
    It's only showing default events like screen_view or session_start. There's no custom event.
    Is there anything else I should do other than using "Log Event" node?
    Last edited by netcop0207; 03-01-2019, 07:26 PM.

    Comment


      Originally posted by netcop0207 View Post


      My team's using 4.18 for a reason, so although new features and less bugs sound great, migrating is not an option for us.

      Anyway, it works!
      After disabling Invites, the packaging was successful, and now both google play service and firebase analytics are successfully initiated.
      I never thought it could be solved this easily.

      Thanks a lot for your help!


      EDIT : Actually, one more thing.
      In the application, it says the analytics is initiated but there's nothing on the Firebase console.
      It's only showing default events like screen_view or session_start. There's no custom event.
      Is there anything else I should do other than using "Log Event" node?
      Events in Firebase Analytics Console shows up within 24 hours so you need to wait. You can also see live events in StreamView on Firebase Dashboard or DebugView following instructions on Firebase Documentation: https://firebase.google.com/docs/analytics/debugview
      Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

      Comment


        Thanks to your help, Analytics works well now.
        As for the Authentication though, signing in anonymously works but 'Firebase Link with Credential'(google) doesn't.
        Attached are my blueprint setup and Firebase sign-in method settings.


        Is this another one of those things not supported in the old engine?
        Or are there any other steps I should take?
        Last edited by netcop0207; 03-02-2019, 04:42 PM.

        Comment


          Hi,

          are Universal Mobile Ads and Ultimate Mobile Kit plugins compatible on their respective last version? I am getting this error when trying to package for Android:

          Code:
          ATHelper: Packaging (Android (ASTC)): Dependency resolved to an incompatible version: Dependency(fromArtifactVersion=ArtifactVersion(groupId=com.google.android.gms, artifactId=play-services-measurement-sdk-api, version=16.0.4), toArtifact=Artifact(groupId=com.google.android.gms, artifactId=play-services-measurement-base), toArtifactVersionString=[16.0.5])
          UATHelper: Packaging (Android (ASTC)): :app:preReleaseBuild FAILED
          UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception.
          UATHelper: Packaging (Android (ASTC)): * What went wrong:
          UATHelper: Packaging (Android (ASTC)): In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[16.0.
          UATHelper: Packaging (Android (ASTC)): 5]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
          UATHelper: Packaging (Android (ASTC)): Dependency failing: com.google.android.gms:play-services-measurement-sdk-api:16.0.4 -> com.google.android.gms:play-servi
          UATHelper: Packaging (Android (ASTC)): ces-measurement-base@[16.0.5], but play-services-measurement-base version was 16.3.0.
          UATHelper: Packaging (Android (ASTC)): The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
          UATHelper: Packaging (Android (ASTC)): ifact with the issue.
          UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.android.gms:play-services-ads@17.1.2
          UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.firebase:firebase-analytics@16.3.0
          UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.android.gms:play-services-ads@16.0.0
          UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.firebase:firebase-core@16.0.7
          UATHelper: Packaging (Android (ASTC)): For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
          UATHelper: Packaging (Android (ASTC)): endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
          UATHelper: Packaging (Android (ASTC)): github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
          UATHelper: Packaging (Android (ASTC)): uild.gradle file.
          UATHelper: Packaging (Android (ASTC)): * Try:
          UATHelper: Packaging (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
          UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org
          UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 9s

          Comment


            Originally posted by netcop0207 View Post
            Thanks to your help, Analytics works well now.
            As for the Authentication though, signing in anonymously works but 'Firebase Link with Credential'(google) doesn't.
            Attached are my blueprint setup and Firebase sign-in method settings.


            Is this another one of those things not supported in the old engine?
            Or are there any other steps I should take?

            Unfortunately, this is not correct way to Link Credential with Google.
            It should be like this:



            However, Google recently changed Google Login (because of Google+ closure) and it has been implemented in Ultimate Mobile Kit 1.10.3 for UE 4.21. 4.18 is deprecated (not supported even by Epic Games) so it may not be working... What's more we are technically not able to upload update for 4.18 because Epic has marked this release as very old and updating has been blocked... Again, we highly recommend to switch to newer engine version. If you can't, we could discuss custom development request about rewriting the newest plugin for 4.18. If you are interested please contact us: support [at] gamednastudio.com
            Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

            Comment


              Originally posted by delcasda View Post
              Hi,

              are Universal Mobile Ads and Ultimate Mobile Kit plugins compatible on their respective last version? I am getting this error when trying to package for Android:

              Code:
              ATHelper: Packaging (Android (ASTC)): Dependency resolved to an incompatible version: Dependency(fromArtifactVersion=ArtifactVersion(groupId=com.google.android.gms, artifactId=play-services-measurement-sdk-api, version=16.0.4), toArtifact=Artifact(groupId=com.google.android.gms, artifactId=play-services-measurement-base), toArtifactVersionString=[16.0.5])
              UATHelper: Packaging (Android (ASTC)): :app:preReleaseBuild FAILED
              UATHelper: Packaging (Android (ASTC)): FAILURE: Build failed with an exception.
              UATHelper: Packaging (Android (ASTC)): * What went wrong:
              UATHelper: Packaging (Android (ASTC)): In project 'app' a resolved Google Play services library dependency depends on another at an exact version (e.g. "[16.0.
              UATHelper: Packaging (Android (ASTC)): 5]", but isn't being resolved to that version. Behavior exhibited by the library will be unknown.
              UATHelper: Packaging (Android (ASTC)): Dependency failing: com.google.android.gms:play-services-measurement-sdk-api:16.0.4 -> com.google.android.gms:play-servi
              UATHelper: Packaging (Android (ASTC)): ces-measurement-base@[16.0.5], but play-services-measurement-base version was 16.3.0.
              UATHelper: Packaging (Android (ASTC)): The following dependencies are project dependencies that are direct or have transitive dependencies that lead to the art
              UATHelper: Packaging (Android (ASTC)): ifact with the issue.
              UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.android.gms:play-services-ads@17.1.2
              UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.firebase:firebase-analytics@16.3.0
              UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.android.gms:play-services-ads@16.0.0
              UATHelper: Packaging (Android (ASTC)): -- Project 'app' depends onto com.google.firebase:firebase-core@16.0.7
              UATHelper: Packaging (Android (ASTC)): For extended debugging info execute Gradle from the command line with ./gradlew --info :app:assembleDebug to see the dep
              UATHelper: Packaging (Android (ASTC)): endency paths to the artifact. This error message came from the google-services Gradle plugin, report issues at https://
              UATHelper: Packaging (Android (ASTC)): github.com/google/play-services-plugins and disable by adding "googleServices { disableVersionCheck = false }" to your b
              UATHelper: Packaging (Android (ASTC)): uild.gradle file.
              UATHelper: Packaging (Android (ASTC)): * Try:
              UATHelper: Packaging (Android (ASTC)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
              UATHelper: Packaging (Android (ASTC)): * Get more help at https://help.gradle.org
              UATHelper: Packaging (Android (ASTC)): BUILD FAILED in 9s

              Hello,

              Please update Universal Mobile Ads to 2.8.3 version: https://forums.unrealengine.com/unre...58#post1590858

              It should help

              Thank you for your patience.
              Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

              Comment


                Hi,
                I ended up switching my project to 4.21.

                After I set up the nodes exactly like you showed me, I could successfully sign in with Google but when I try to sign in with Google Play or link to Google Play, it always returns invalid credential.

                I specified web application client ID and client secret to the Play Games authentication setting in my Firebase Console, following the official Firebase instruction.
                Is there anything else needed to be done?

                Comment


                  Originally posted by netcop0207 View Post
                  Hi,
                  I ended up switching my project to 4.21.

                  After I set up the nodes exactly like you showed me, I could successfully sign in with Google but when I try to sign in with Google Play or link to Google Play, it always returns invalid credential.

                  I specified web application client ID and client secret to the Play Games authentication setting in my Firebase Console, following the official Firebase instruction.
                  Is there anything else needed to be done?

                  Please contact us on Discord: https://gamednastudio.com/discord and we will schedule TeamViewer session to help you directly on your computer
                  Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                  Comment




                    Could a link to the download location for these files be added to the docs? Even in context I have no idea where they're meant to be downloaded from. I eventually worked it out but it took a liberal application of googline.
                    Last edited by Antidamage; 03-03-2019, 08:01 PM.

                    Comment


                      Originally posted by Antidamage View Post


                      Could a link to the download location for these files be added to the docs? Even in context I have no idea where they're meant to be downloaded from. I eventually worked it out but it took a liberal application of googline.
                      Please login to your Firebase Console (https://console.firebase.google.com/), choose your app, and then click "Project Settings" icon. This is near "Project Overview" link. Then move down to "Your apps" section and there you will see "Download the latest config file".
                      Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                      Comment


                        Yep that's what you need to add to the docs.

                        Comment


                          Originally posted by Antidamage View Post
                          Yep that's what you need to add to the docs.
                          Will do! Thanks for the suggestion
                          Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                          Comment


                            I'm stuck on setup. I've put everything together according to the setup guide but Firebase isn't registering my events.

                            Does this run on desktop for debugging, or only mobile? I'm calling the initialization method but I only ever get a failure on the desktop. I get nothing returned on mobile, neither failure nor success:

                            Comment


                              Originally posted by Antidamage View Post
                              I'm stuck on setup. I've put everything together according to the setup guide but Firebase isn't registering my events.

                              Does this run on desktop for debugging, or only mobile? I'm calling the initialization method but I only ever get a failure on the desktop. I get nothing returned on mobile, neither failure nor success:


                              1. Firebase is mobile-only so Ultimate Mobile Kit is also mobile-only. The only exception is Firebase Realtime Database which is available for all platforms: https://forums.unrealengine.com/unre...forms-firebase
                              2. Have you installed SDKs using gameDNA installer?
                              3. Is your plugin installed in the engine or project directory? This is a bug in the engine with including SDKs if Third-Party plugins are placed in the engine directory. So if you have installed it in the engine, please move plugin from [ENGINE_FOLDER]/Engine/Plugins/Marketplace/UltimateMobileKit to [PROJECT_FOLDER]/Plugins/UltimateMobileKit and try again.

                              Please let me know if it helped you. If not, could you please attach logs from your device?

                              Thank you for your patience.
                              Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                              Comment


                                1. Gotcha
                                2. Yes I have
                                3. Project directory. On Mac it failed to build in the Engine directory anyway.

                                I've gotten it running the initialization on the device now but it's failing. How would you debug it? I'm a little wary of the fact that the setup was way too easy.

                                Edit: actually the gamedna installer is in the plugins directory. I'll move the UMK plugin and try again! Thanks!

                                Edit again: yup that fixed it! That might also be worth noting in the docs about the Engine plugins folder. I know the setup says to use the project folder but it should say why.
                                Last edited by Antidamage; 03-04-2019, 10:15 PM.

                                Comment

                                Working...
                                X