Announcement

Collapse
No announcement yet.

Ultimate Mobile Kit for iOS & Android - Firebase

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

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

    Leave a comment:


  • replied
    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".

    Leave a comment:


  • replied


    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.

    Leave a comment:


  • replied
    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

    Leave a comment:


  • replied
    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?

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    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

    Leave a comment:


  • replied
    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

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    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

    Leave a comment:


  • replied
    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.

    Leave a comment:


  • replied
    Originally posted by netcop0207 View Post


    Thanks for the quick response.
    Step 1 and 2 were already done.
    I tried moving the plugin to the project folder and now packaging fails.
    Here's the log.

    UATHelper: Packaging (Android (ETC2)): Performing 6 actions (18 in parallel)
    UATHelper: Packaging (Android (ETC2)): [1/6] clang++.exe Module.UltimateMobileKit.cpp [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [2/6] clang++.exe Module.UltimateMobileKit.gen.cpp [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [3/6] clang++.exe PCH.UELinkerFixups.h [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [4/6] clang++.exe UELinkerFixups.cpp [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [5/6] arm-linux-androideabi-ar.exe UE4-UltimateMobileKit-Android-Shipping-armv7-es2.a
    UATHelper: Packaging (Android (ETC2)): D:/NVPACK/android-ndk-r15c\toolchains/arm-linux-androideabi-4.9\prebuilt/windows-x86_64\bin/arm-linux-androideabi-ar.exe: creating D:/Unreal Projects/UnnamedProject(442)/Plugins/UltimateMobileKit/Binaries/Android/UE4-UltimateMobileKit-Android-Shipping-armv7-es2.a
    UATHelper: Packaging (Android (ETC2)): [6/6] clang++.exe UnnamedProject-Android-Shipping-armv7-es2.so
    UATHelper: Packaging (Android (ETC2)): D:\Unreal Projects\UnnamedProject(442)\Plugins\UltimateMobileKit\Source\UltimateMobileKit\Private\Invites/FirebaseInvites.cpp:42: error: undefined reference to 'firebase::invites::Terminate()'
    UATHelper: Packaging (Android (ETC2)): D:\Unreal Projects\UnnamedProject(442)\Plugins\UltimateMobileKit\Source\UltimateMobileKit\Private\Invites/FirebaseInvites.cpp:42: error: undefined reference to 'firebase::invites::Terminate()'
    UATHelper: Packaging (Android (ETC2)): D:\Unreal Projects\UnnamedProject(442)\Plugins\UltimateMobileKit\Source\UltimateMobileKit\Private\Invites/InvitesInitialize.cpp:27: error: undefined reference to 'firebase::invites::Initialize(firebase::App const&)'
    UATHelper: Packaging (Android (ETC2)): clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
    UATHelper: Packaging (Android (ETC2)): ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\UnnamedProject(442)\Binaries\Android\UnnamedProject-Android-Shipping-armv7-es2.so
    UATHelper: Packaging (Android (ETC2)): Total build time: 130.92 seconds (Local executor: 0.00 seconds)
    UATHelper: Packaging (Android (ETC2)): Took 131.266053s to run UnrealBuildTool.exe, ExitCode=5
    UATHelper: Packaging (Android (ETC2)): ERROR: Command failed (Result:5): D:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe UnnamedProject Android Shipping -Project="D:\Unreal Projects\UnnamedProject(442)\UnnamedProject.uproject" "D:\Unreal Projects\UnnamedProject(442)\UnnamedProject.uproject" -NoUBTMakefiles -remoteini="D:\Unre
    al Projects\UnnamedProject(442)" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2019.03.02-07.01.00.txt'
    UATHelper: Packaging (Android (ETC2)): (see C:\Users\Jakdu\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace)
    UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=5 (5)
    UATHelper: Packaging (Android (ETC2)): BUILD FAILED
    PackagingResults: Error: Unknown Error

    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.

    Leave a comment:


  • replied
    Originally posted by gameDNA studio View Post

    Hello,

    Don't worry we will help you!

    1. Have you installed SDKs using gameDNA installer?
    2. Have you loaded google-services.json?
    3. If it still doesn't help please try to move plugin folder from [ENGINE_FOLDER]/Engine/Plugins/Marketplace/UltimateMobileKit to [PROJECT_FOLDER]/Plugins/UltimateMobileKit and try again

    Please let me know if it helped you.

    Thank you for your patience

    Thanks for the quick response.
    Step 1 and 2 were already done.
    I tried moving the plugin to the project folder and now packaging fails.
    Here's the log.

    UATHelper: Packaging (Android (ETC2)): Performing 6 actions (18 in parallel)
    UATHelper: Packaging (Android (ETC2)): [1/6] clang++.exe Module.UltimateMobileKit.cpp [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [2/6] clang++.exe Module.UltimateMobileKit.gen.cpp [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [3/6] clang++.exe PCH.UELinkerFixups.h [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [4/6] clang++.exe UELinkerFixups.cpp [armv7-es2]
    UATHelper: Packaging (Android (ETC2)): [5/6] arm-linux-androideabi-ar.exe UE4-UltimateMobileKit-Android-Shipping-armv7-es2.a
    UATHelper: Packaging (Android (ETC2)): D:/NVPACK/android-ndk-r15c\toolchains/arm-linux-androideabi-4.9\prebuilt/windows-x86_64\bin/arm-linux-androideabi-ar.exe: creating D:/Unreal Projects/UnnamedProject(442)/Plugins/UltimateMobileKit/Binaries/Android/UE4-UltimateMobileKit-Android-Shipping-armv7-es2.a
    UATHelper: Packaging (Android (ETC2)): [6/6] clang++.exe UnnamedProject-Android-Shipping-armv7-es2.so
    UATHelper: Packaging (Android (ETC2)): D:\Unreal Projects\UnnamedProject(442)\Plugins\UltimateMobileKit\Source\UltimateMobileKit\Private\Invites/FirebaseInvites.cpp:42: error: undefined reference to 'firebase::invites::Terminate()'
    UATHelper: Packaging (Android (ETC2)): D:\Unreal Projects\UnnamedProject(442)\Plugins\UltimateMobileKit\Source\UltimateMobileKit\Private\Invites/FirebaseInvites.cpp:42: error: undefined reference to 'firebase::invites::Terminate()'
    UATHelper: Packaging (Android (ETC2)): D:\Unreal Projects\UnnamedProject(442)\Plugins\UltimateMobileKit\Source\UltimateMobileKit\Private\Invites/InvitesInitialize.cpp:27: error: undefined reference to 'firebase::invites::Initialize(firebase::App const&)'
    UATHelper: Packaging (Android (ETC2)): clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)
    UATHelper: Packaging (Android (ETC2)): ERROR: UBT ERROR: Failed to produce item: D:\Unreal Projects\UnnamedProject(442)\Binaries\Android\UnnamedProject-Android-Shipping-armv7-es2.so
    UATHelper: Packaging (Android (ETC2)): Total build time: 130.92 seconds (Local executor: 0.00 seconds)
    UATHelper: Packaging (Android (ETC2)): Took 131.266053s to run UnrealBuildTool.exe, ExitCode=5
    UATHelper: Packaging (Android (ETC2)): ERROR: Command failed (Result:5): D:\Program Files\Epic Games\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe UnnamedProject Android Shipping -Project="D:\Unreal Projects\UnnamedProject(442)\UnnamedProject.uproject" "D:\Unreal Projects\UnnamedProject(442)\UnnamedProject.uproject" -NoUBTMakefiles -remoteini="D:\Unre
    al Projects\UnnamedProject(442)" -skipdeploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2019.03.02-07.01.00.txt'
    UATHelper: Packaging (Android (ETC2)): (see C:\Users\Jakdu\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Program+Files+Epic+Games+UE_4.18\UAT_Log.txt for full exception trace)
    UATHelper: Packaging (Android (ETC2)): AutomationTool exiting with ExitCode=5 (5)
    UATHelper: Packaging (Android (ETC2)): BUILD FAILED
    PackagingResults: Error: Unknown Error

    Leave a comment:


  • replied
    Originally posted by netcop0207 View Post
    Hi,
    I'm trying to test Firebase Analytics.
    My app is currently published on internal-test track and the Firebase service is in 'Ready to publish' status.
    I followed the instructions in this thread to setup google play service. (https://forums.unrealengine.com/deve...le-Play-Setup=)
    Both Google Play Console and Firebase say the Firebase service and my app are linked.

    However, when I run the app on a mobile device, Analytics still fails to get initiated and GooglePlayAvailability returns 'UnavailableMissing'.
    What does this mean and how should I fix it?
    If the information is insufficient, how do I debug to get more info?
    I spent 3 full days trying to figure this out. Any help would be greatly appreciated.
    Hello,

    Don't worry we will help you!

    1. Have you installed SDKs using gameDNA installer?
    2. Have you loaded google-services.json?
    3. If it still doesn't help please try to move plugin folder from [ENGINE_FOLDER]/Engine/Plugins/Marketplace/UltimateMobileKit to [PROJECT_FOLDER]/Plugins/UltimateMobileKit and try again

    Please let me know if it helped you.

    Thank you for your patience

    Leave a comment:


  • replied
    Hi,
    I'm trying to test Firebase Analytics.
    My app is currently published on internal-test track and the Firebase service is in 'Ready to publish' status.
    I followed the instructions in this thread to setup google play service. (https://forums.unrealengine.com/deve...le-Play-Setup=)
    Both Google Play Console and Firebase say the Firebase service and my app are linked.

    However, when I run the app on a mobile device, Analytics still fails to get initiated and GooglePlayAvailability returns 'UnavailableMissing'.
    What does this mean and how should I fix it?
    If the information is insufficient, how do I debug to get more info?
    I spent 3 full days trying to figure this out. Any help would be greatly appreciated.

    Leave a comment:

Working...
X