Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Is it possible to make an Android login with only blueprints?

Hey guys, the title pretty much says it all. I've checked a lot of other similar questions, but none of the solutions has seem to work for me. I'm trying to make a mobile game and I would like for it to sign in to the users google play account using the Show External Login Ui. The show external works since I see when this screen appears in my device, but it always fail. I've checked the Match3 game to see how they did it, but they use C++ and I would like to know if this is possible to achieve in a BP only project. Also, the project already has the keystore setup, the AppID and all of that sort that I believe are required for Android Development. Below is my BP of the Game Instance which handles the Login. If you need more info to provide an answer, please let me know, and I'll provide it. Thanks in advance!

alt text

Product Version: UE 4.13
gameinstance.jpg (133.1 kB)
more ▼

asked Jan 01 '18 at 07:11 PM in Blueprint Scripting

avatar image

1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

I fixed this problem. After a long time of searching without succes, I ended created the project with C++ and made sure the following where done:

1) The Game Services where published (Developer Console)

2) Verify that the Build.cs contained the following:

         if (Target.Platform == UnrealTargetPlatform.Android)
             PrivateDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "OnlineSubsystem" });

3) Verify that the GooglePlayAppID.xml had the following:

     <string name="app_id">YOUR APP ID</string>


Not sure why the BP project wouldn't work, but I got it fixed.

more ▼

answered Jan 06 '18 at 11:34 PM

avatar image

1 2 3

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I checked the Google Play API docs and it says they use JSON, so you can use the VaREST plugin to make calls from BP's to interface with the Google Play API. You should not need C++.

more ▼

answered Jan 02 '18 at 04:51 AM

avatar image

2.6k 63 28 281

avatar image SirPotato652 Jan 02 '18 at 04:24 PM

Hi Dartanlla, I checked VaREST as you recommended, but I can't seem to grasp it. I tried to use it as the Plugin Usage page recommended, but I can't seem to make it work. How can this access the google play login service?


(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question