Hi,
I’m getting an error on firebaseStorage.init function in new Corona build (3204). This problem is not present in 3083 version.
Build settings is set as described in the plugin.
local firebaseStorage = require "plugin.firebaseStorage" timer.performWithDelay( 100, function() firebaseStorage.init("gs://#########.appspot.com") end)
I/Corona ( 7073): ERROR: Runtime error I/Corona ( 7073): C:\Users\JA\Documents\Corona Projects\Plansz├│wki\main.lua:15 : java.lang.IllegalAccessError: tried to access class com.google.android.gms.com mon.internal.zzac from class com.google.firebase.storage.FirebaseStorage I/Corona ( 7073): Java Stack Trace: I/Corona ( 7073): com.google.firebase.storage.FirebaseStorage.getInstance( Unknown Source) I/Corona ( 7073): plugin.firebaseStorage.LuaLoader$init.invoke(LuaLoader.j ava:142) I/Corona ( 7073): com.ansca.corona.JavaToNativeShim.nativeResize(Native Me thod) I/Corona ( 7073): com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShi m.java:381) I/Corona ( 7073): com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$Cor onaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:382) I/Corona ( 7073): com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread. guardedRun(GLSurfaceView.java:1612) I/Corona ( 7073): com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread. run(GLSurfaceView.java:1378) I/Corona ( 7073): stack traceback: I/Corona ( 7073): [C]: in function 'init' I/Corona ( 7073): C:\Users\JA\Documents\Corona Projects\Plansz├│wki\main.l ua:15: in function 'listener' I/Corona ( 7073): /Users/jenkins/slaveroot/workspace/Templates/label/andro id/subrepos/timer/ I/Corona ( 7073): ERROR: Runtime error I/Corona ( 7073): C:\Users\JA\Documents\Corona Projects\Plansz├│wki\main.lua:15 : java.lang.IllegalAccessError: tried to access class com.google.android.gms.com mon.internal.zzac from class com.google.firebase.storage.FirebaseStorage I/Corona ( 7073): Java Stack Trace: I/Corona ( 7073): com.google.firebase.storage.FirebaseStorage.getInstance( Unknown Source) I/Corona ( 7073): plugin.firebaseStorage.LuaLoader$init.invoke(LuaLoader.j ava:142) I/Corona ( 7073): com.ansca.corona.JavaToNativeShim.nativeResize(Native Me thod) I/Corona ( 7073): com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShi m.java:381) I/Corona ( 7073): com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$Cor onaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:382) I/Corona ( 7073): com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread. guardedRun(GLSurfaceView.java:1612) I/Corona ( 7073): com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread. run(GLSurfaceView.java:1378) I/Corona ( 7073): stack traceback: I/Corona ( 7073): [C]: ? I/Corona ( 7073): [C]: in function 'init' I/Corona ( 7073): C:\Users\JA\Documents\Corona Projects\Plansz├│wki\main.l ua:15: in function 'listener' I/Corona ( 7073): /Users/jenkins/slaveroot/workspace/Templates/label/andro id/subrepos/timer/timer.lua:210: in function 'method' I/Corona ( 7073): /Users/jenkins/slaveroot/workspace/Templates/label/andro id/platform/resources/init.lua:221: in function \</Users/jenkins/slaveroot/worksp ace/Templates/label/android/platform/resources/init.lua:190\> V/Corona ( 7073): \> Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 7073): \< Class.forName: CoronaProvider.licensing.google.LuaLoader V/Corona ( 7073): Loading via reflection: CoronaProvider.licensing.google.LuaLo ader