Open ikruze opened 4 years ago
Just found this debug message:
Module ti.googlesignin does not contain x86_64 ABI. Application will build without x86_64 ABI support!
you have to recompile the module with SDK >=8
Thanks... finally it worked, had to recompile and update my NDK version
I get the same error message. I tried to recompile it, but I got several error messages about missing symbols.
I'm using appc 8.0.0 and Apcelerator SDK 9.0.1GA. NDK version is 21.1.6352462.
@ikruze How did you recompile the module?
Hi @bali001 it was a bit hard, but it worth the pain :) I had to upgrade the firebase-core module to 6.0.0 (I had 5.0.0 in my project) from here: https://github.com/hansemannn/titanium-firebase-core/releases
After that I was dealing with a specific version of NDK because I also had version 21.1.6352462 and the proyect didn't compile because it was throwing an error that asked for the versión 20.0.5594570 in order to go on. Finally I founded that version here: https://androidsdkoffline.blogspot.com/p/android-ndk-direct-download.html and uncompressed the file inside the android/ndk/ folder but naming it with the version that corresponds, so now I have this in the folder:
I downloaded the source code in order to recompile it and had to add the following into the build.grade file to complete the dependencies, if I don't I was having a double version library issue when compilating:
dependencies {
implementation 'com.google.android.gms:play-services-basement:17.0.0'
implementation 'com.google.android.gms:play-services-auth:17.0.0'
implementation 'com.google.android.gms:play-services-auth-base:17.0.0'
implementation 'com.google.android.gms:play-services-base:17.0.0'
}
That worked fine, I'm leaving here the dist file that you can import into Appcelerator Studio... hope it works for you ti.googlesignin-android-3.0.4.zip
You have to compile with SDK8 (64bit), SDK9 will makes new issues because of totally new architecture of dependencies.
@ikruze I tried my app with your build and it works. Thank you!
Good news!!
Created a PR #37
Tried your build, now popup for choosing account shows up, but i have no callback at all.
Thanks! It's working on SDK 9.1.0 and latest Firebase modules.
Hello, no callbacks or events are firing for me. Any suggestions would be helpful. I used module @ikruze shared. Thanks in advance.
When trying to build up a view there is an exception when importing the module in my js code: var Google=require("ti.googlesignin");
Uncaught Error: Failed resolution of: Lcom/google/android/gms/auth/api/Auth;
After I debugged it, I found that the exception is occuring at GooglesigninModule.java on line 111
This start occuring after upgrading to Apcelerator SDK 9.0.1GA, and Firebase Core 6.0.0 from hansemannn (https://github.com/hansemannn/titanium-firebase-core)