Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

firebaseinvites runtime event not firing
Started by balloonknot Sep 04 2017 10:19 AM

52 replies to this topic
[TOPIC CONTROLS]
Page 2 of 3 1 2 3
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#26

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

Can you try to post logs from your app, not through the corona filter?



[TOPIC: post.html]
#27

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

I've tried using the package name - adb logcat | findstr com.balloonknotgames.fartcommander and the pid - adb logcat --pid=26534

but neither show the applicationopen event or launch args.

 

Do you know of a better command to use?



[TOPIC: post.html]
#28

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

Try using

adb logcat -E

I am looking for an error message



[TOPIC: post.html]
#29

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

ERRORS
 
C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat *:E
--------- beginning of main
09-19 13:29:40.576 22393 22393 E PermanentService: PermanentService init
09-19 13:29:40.581 22393 22393 E PermanentService:  onBind
--------- beginning of system
09-19 13:29:41.565 21993 22180 E SingleFileAttributeStore.cpp: Could not read data from the disk
09-19 13:29:42.066  4001  4625 E BtGatt.GattService: [GSIM LOG]: gsimLogHandler: com.facebook.katana, msg: MESSAGE_START_SCAN
09-19 13:29:42.067  4001  4625 E BtGatt.GattService: getScanProcessName: no such scan mode at requested: -1
09-19 13:29:42.067  4001  4625 E BtGatt.GattService: getScanProcessName: null string made
09-19 13:29:42.067  4001  4625 E BtGatt.GattService: updateScanTime: null process name, So don't update Scan time
09-19 13:29:43.046 21473 21755 E SingleFileAttributeStore.cpp: Could not read data from the disk
09-19 13:29:43.142 22726 22726 E Zygote  : v2
09-19 13:29:43.145 22726 22726 E Zygote  : accessInfo : 0
09-19 13:29:43.275 22745 22745 E Zygote  : v2
09-19 13:29:43.277 22745 22745 E Zygote  : accessInfo : 0
09-19 13:29:44.028  3041  3041 E audit   : type=1400 audit(1505842184.009:22866): avc:  denied  { read } for  pid=22726 comm="na:notification" name="core_pattern" dev="proc" ino=12176301 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:usermodehelper:s0 tclass=file permissive=0 SEPF_SECMOBILE_7.0_0008
09-19 13:29:44.100 22822 22822 E Zygote  : v2
09-19 13:29:44.101 22822 22822 E Zygote  : accessInfo : 0
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess: Can't load GNU STL lib
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libcpp_helper.so
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.facebook.soloader.t.a(:84973)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.facebook.soloader.t.c(:85002)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.facebook.breakpad.BreakpadManager.b(:29323)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.instagram.process.InstagramApplicationForMainProcess.ensureJNIPrerequisites(:400959)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.instagram.process.InstagramApplicationForMainProcess.onCreate(:401155)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.instagram.app.InstagramAppShell.onCreate(:129518)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5876)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at android.app.ActivityThread.-wrap3(ActivityThread.java)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1699)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at android.os.Handler.dispatchMessage(Handler.java:102)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at android.os.Looper.loop(Looper.java:154)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at android.app.ActivityThread.main(ActivityThread.java:6682)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at java.lang.reflect.Method.invoke(Native Method)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
09-19 13:29:44.325 22822 22822 E InstagramApplicationForMainProcess:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
09-19 13:29:47.275  4994  4994 E screensaver: *** get leftTime2(scale:100, level:30, avTime:321803
09-19 13:29:47.275  4994  4994 E screensaver: *** remain time:375.0
09-19 13:29:47.278  4994  4994 E hzc     : ********** AdHolder onBind true
09-19 13:29:47.675  4994  4994 E BoostFramework: BoostFramework() : Exception_1 = java.lang.ClassNotFoundException: Didn't find class "com.qualcomm.qti.Performance" on path: DexPathList[[],nativeLibraryDirectories=[/system/lib, /vendor/lib]]
09-19 13:29:47.785  4994  4994 E screensaver: *** get leftTime2(scale:100, level:30, avTime:321803
09-19 13:29:47.785  4994  4994 E screensaver: *** remain time:375.0
09-19 13:29:47.786  4994  4994 E hzc     : ********** AdHolder onBind true
09-19 13:29:47.907 23075 23075 E Zygote  : v2
09-19 13:29:47.908 23075 23075 E Zygote  : accessInfo : 0
09-19 13:29:48.089 23102 23102 E Zygote  : v2
09-19 13:29:48.091 23102 23102 E Zygote  : accessInfo : 0
09-19 13:29:48.127 23114 23114 E Zygote  : v2
09-19 13:29:48.129 23114 23114 E Zygote  : accessInfo : 0
09-19 13:29:48.182 23132 23132 E Zygote  : v2
09-19 13:29:48.183 23132 23132 E Zygote  : accessInfo : 0
09-19 13:29:48.524 23102 23102 E GameTools: GameToolsApplication onCreate
09-19 13:29:48.562 23102 23102 E GameTools: validationCheckResolutionSetting() :true
09-19 13:29:48.562 23102 23102 E GameTools: SettingData.getAutoBPS : 5529600
09-19 13:29:48.562 23102 23102 E GameTools: SettingData.getAutoBPS : 5529600
09-19 13:29:48.562 23102 23102 E GameTools: initiazlieBitrateSetting(), 5529600
09-19 13:29:48.581 23198 23198 E Zygote  : v2
09-19 13:29:48.582 23198 23198 E Zygote  : accessInfo : 0
09-19 13:29:48.657  3681  5584 E SensorService: getSensorList a sensor (MAX86900) without holding its required permission: com.samsung.permission.SSENSOR
09-19 13:29:48.657  3681  5584 E SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
09-19 13:29:48.659  3681  5584 E SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
09-19 13:29:48.659  3681  5584 E SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
09-19 13:29:48.659  3681  5584 E SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
09-19 13:29:48.660  3681  5584 E SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
09-19 13:29:48.660  3681  5584 E SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
09-19 13:29:48.660  3681  5584 E SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
09-19 13:29:48.832 23240 23240 E Zygote  : v2
09-19 13:29:48.832 23240 23240 E Zygote  : accessInfo : 0
09-19 13:29:48.844  5310  5538 E cm_cmc_c: app launch:com.cleanmaster.mguard
09-19 13:29:48.997 23102 23102 E GameTools: com.samsung.android.game.gamehomeis disabled
09-19 13:29:48.997 23102 23102 E GameTools: isGameHomeEnableSync() false false
09-19 13:29:49.042  3681  3809 E Sensors : Sensor : Meta event
09-19 13:29:49.068 23270 23270 E Zygote  : v2
09-19 13:29:49.070 23270 23270 E Zygote  : accessInfo : 0
09-19 13:29:49.194 23270 23312 E SPPClientService: ShipBuild Binary : True
09-19 13:29:49.356  4994  4994 E ss_launch:SS4Activity: onDestroy:com.ijinshan.screensavernew4.ScreenSaver4Activity@5307971
09-19 13:29:49.356  4994  4994 E ss_launch:SS4Activity: null, trace:C_S1_R_P_I_S2_S1_S2_S1_R_P_S2_D_, listSize:2, @, screen:on
09-19 13:29:49.388  4994  4994 E ViewRootImpl: sendUserActionEvent() mView == null
09-19 13:29:49.514 23075 23224 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-19 13:29:49.732 23075 23224 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-19 13:29:49.915  5310  5538 E cm_cmc_c: app launch:com.balloonknotgames.fartcommander
09-19 13:29:50.661 23102 23431 E NoAlertsUtil: enableNotifications
09-19 13:29:50.723 23102 23102 E NoAlertsUtil: enableNotifications
09-19 13:29:50.810 23102 23431 E NoAlertsUtil: enableNotifications
09-19 13:29:50.812 23102 23102 E NoAlertsUtil: enableNotifications
09-19 13:29:51.587 23504 23504 E Zygote  : v2
09-19 13:29:51.590 23504 23504 E Zygote  : accessInfo : 0
09-19 13:29:52.945  5310  5538 E cm_cmc_c: app launch:com.android.systemui
09-19 13:29:53.031  3681  3852 E InputDispatcher: channel ~ Channel is unrecoverably broken and will be disposed!
09-19 13:29:53.319 23644 23644 E Zygote  : v2
09-19 13:29:53.321 23644 23644 E Zygote  : accessInfo : 0
09-19 13:29:54.879  3681  3924 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=3238, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
09-19 13:29:54.881  3681  3924 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=3239, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
09-19 13:29:55.844  3681  5750 E Sensors : Pressure old sensor_state 16385, new sensor_state : 16417 en : 1
09-19 13:29:56.066  3681  4982 E Sensors : Pressure old sensor_state 16417, new sensor_state : 16385 en : 0
09-19 13:29:56.090 21779 23767 E InfocLog:  read imei in getinstance, again
09-19 13:29:56.090 21779 23768 E mmm     : CALL BACK....: yn$5@5735b10
09-19 13:29:56.105 21779 23768 E mmm     : CALL BACK....: yf$1@63cd609
09-19 13:29:56.305  3681  5749 E ActivityManager: applyOptionsLocked: Unknown animationType=0
09-19 13:29:56.353 23102 23777 E NoAlertsUtil: enableNotifications
09-19 13:29:56.362 23102 23102 E NoAlertsUtil: enableNotifications
09-19 13:29:56.450 31493 31493 E NFC     : isAndroidBeamAllowed - Begin
09-19 13:29:58.051 17944 18018 E ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 15ms lastUpdatedAfter : 49087 ms mFlush_time_threasold : 2000 mCurrentSize : 221
09-19 13:29:58.985  5310  5538 E cm_cmc_c: app launch:com.android.vending
09-19 13:29:59.450 21779 23768 E mmm     : CALL BACK....: yn$5@a0432d4
09-19 13:29:59.460 21779 23768 E mmm     : CALL BACK....: yf$1@f3e6c7d
09-19 13:30:00.671 23826 23826 E Zygote  : v2
09-19 13:30:00.673 23826 23826 E Zygote  : accessInfo : 0
09-19 13:30:01.092 23826 23826 E saaa    : procName:com.ksmobile.launcher:crash_service
09-19 13:30:01.171  3041  3041 E audit   : type=1400 audit(1505842201.159:22871): avc:  denied  { read } for  pid=23842 comm="IntentService[C" name="anr" dev="sda17" ino=524290 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:anr_data_file:s0 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0008
09-19 13:30:02.051 17944 18018 E ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 1Kb duration : 2ms lastUpdatedAfter : 3999 ms mFlush_time_threasold : 2000 mCurrentSize : 845
09-19 13:30:05.084 22430 23849 E InfocLog:  read imei in getinstance, again
09-19 13:30:08.772  3681  4501 E Watchdog: !@Sync 6503 [19_Sep_13_30_08.772]
09-19 13:30:09.024 17944 18018 E ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 1Kb duration : 3ms lastUpdatedAfter : 6973 ms mFlush_time_threasold : 2000 mCurrentSize : 596
09-19 13:30:10.342 31493 31493 E NFC     : isAndroidBeamAllowed - Begin
09-19 13:30:10.495 23102 23102 E GameTools: com.samsung.android.game.gamehomeis disabled
09-19 13:30:10.495 23102 23102 E GameTools: isGameHomeEnableSync() false false
09-19 13:30:10.558  3681  5216 E SensorService: getSensorList a sensor (MAX86900) without holding its required permission: com.samsung.permission.SSENSOR
09-19 13:30:10.558  3681  5216 E SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
09-19 13:30:10.558  3681  5216 E SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
09-19 13:30:10.559  3681  5216 E SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
09-19 13:30:10.559  3681  5216 E SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
09-19 13:30:10.559  3681  5216 E SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
09-19 13:30:10.559  3681  5216 E SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
09-19 13:30:10.559  3681  5216 E SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
09-19 13:30:10.879  3681  3809 E Sensors : Sensor : Meta event
09-19 13:30:11.159 23644 23864 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-19 13:30:11.320 23644 23864 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-19 13:30:13.033  5310  5538 E cm_cmc_c: app launch:com.balloonknotgames.fartcommander
09-19 13:30:13.386 23644 24020 E libEGL  : validate_display:99 error 3008 (EGL_BAD_DISPLAY)


[TOPIC: post.html]
#30

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

WARNING and higher

 

C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat *:W

--------- beginning of main
--------- beginning of system
09-19 17:05:19.939  3681  4501 E Watchdog: !@Sync 6854 [19_Sep_17_05_19.938]
09-19 17:05:28.158 31493 31493 E NFC     : isAndroidBeamAllowed - Begin
09-19 17:05:28.281  9448  9448 E GameTools: com.samsung.android.game.gamehomeis disabled
09-19 17:05:28.281  9448  9448 E GameTools: isGameHomeEnableSync() false false
09-19 17:05:28.309  3681  5583 E SensorService: getSensorList a sensor (MAX86900) without holding its required permission: com.samsung.permission.SSENSOR
09-19 17:05:28.309  3681  5583 E SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
09-19 17:05:28.309  3681  5583 W ServiceManager: Permission failure: android.permission.BODY_SENSORS from uid=10386 pid=15150
09-19 17:05:28.310  3681  5583 E SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
09-19 17:05:28.310  3681  5583 W ServiceManager: Permission failure: android.permission.BODY_SENSORS from uid=10386 pid=15150
09-19 17:05:28.310  3681  5583 E SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
09-19 17:05:28.310  3681  5583 E SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
09-19 17:05:28.310  3681  5583 E SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
09-19 17:05:28.310  3681  5583 W ServiceManager: Permission failure: android.permission.BODY_SENSORS from uid=10386 pid=15150
09-19 17:05:28.310  3681  5583 E SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
09-19 17:05:28.310  3681  5583 E SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
09-19 17:05:28.794 15150 15215 W BassBoost: WARNING: attaching a BassBoost to global output mix is deprecated!
09-19 17:05:28.800 15150 15215 W AudioTrack: AUDIO_OUTPUT_FLAG_FAST denied by client; transfer 1, track 44100 Hz, output 48000 Hz
09-19 17:05:28.801 15150 15215 W libc    : pthread_create sched_setscheduler call failed: Operation not permitted
09-19 17:05:28.805  3143  3377 W AudioPolicyIntefaceImpl: Skipped to add effects on session 30201
09-19 17:05:28.831 15150 15257 W InstanceID/Rpc: Found 10015
09-19 17:05:28.856 15150 15215 W System.err: java.lang.IllegalArgumentException: Component class com.ansca.corona.notifications.GoogleCloudMessagingBroadcastReceiver does not exist in com.balloonknotgames.fartcommander
09-19 17:05:28.861 15150 15215 W System.err:    at android.os.Parcel.readException(Parcel.java:1697)
09-19 17:05:28.861 15150 15215 W System.err:    at android.os.Parcel.readException(Parcel.java:1646)
09-19 17:05:28.861 15150 15215 W System.err:    at android.content.pm.IPackageManager$Stub$Proxy.setComponentEnabledSetting(IPackageManager.java:5308)
09-19 17:05:28.861 15150 15215 W System.err:    at android.app.ApplicationPackageManager.setComponentEnabledSetting(ApplicationPackageManager.java:2750)
09-19 17:05:28.861 15150 15215 W System.err:    at OneSignal.LuaLoader$InitFunction.invoke(LuaLoader.java:118)
09-19 17:05:28.861 15150 15215 W System.err:    at com.naef.jnlua.LuaState.lua_pcall(Native Method)
09-19 17:05:28.861 15150 15215 W System.err:    at com.naef.jnlua.LuaState.call(Unknown Source)
09-19 17:05:28.861 15150 15215 W System.err:    at plugin.liveBuild.CoronaLiveSync.run(CoronaLiveSync.java:60)
09-19 17:05:28.861 15150 15215 W System.err:    at plugin.liveBuild.LuaLoader$RunRequestPermissionsResultHandler.run(LuaLoader.java:138)
09-19 17:05:28.861 15150 15215 W System.err:    at plugin.liveBuild.LuaLoader$RunRequestPermissionsResultHandler.handleRun(LuaLoader.java:116)
09-19 17:05:28.861 15150 15215 W System.err:    at plugin.liveBuild.LuaLoader$RunWrapper.invoke(LuaLoader.java:182)
09-19 17:05:28.861 15150 15215 W System.err:    at com.ansca.corona.JavaToNativeShim.nativeResize(Native Method)
09-19 17:05:28.861 15150 15215 W System.err:    at com.ansca.corona.JavaToNativeShim.resize(JavaToNativeShim.java:381)
09-19 17:05:28.861 15150 15215 W System.err:    at com.ansca.corona.graphics.opengl.CoronaGLSurfaceView$CoronaRenderer.onSurfaceChanged(CoronaGLSurfaceView.java:378)
09-19 17:05:28.861 15150 15215 W System.err:    at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1612)
09-19 17:05:28.862 15150 15215 W System.err:    at com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1378)
09-19 17:05:28.863 15150 15215 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-19 17:05:29.014 15150 15215 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-19 17:05:29.678  5310  5538 E cm_cmc_c: app launch:com.balloonknotgames.fartcommander
09-19 17:05:29.867 15150 15150 W System  : ClassLoader referenced unknown path:
09-19 17:05:29.964 15150 15150 W System  : ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000036/n/armeabi-v7a
09-19 17:05:29.964 15150 15150 W System  : ClassLoader referenced unknown path: /data/user_de/0/com.google.android.gms/app_chimera/m/00000036/n/armeabi
09-19 17:05:30.079 15150 15295 W art     : Before Android 4.1, method double java.util.concurrent.ThreadLocalRandom.internalNextDouble(double, double) would have incorrectly overridden the package-private method in java.util.Random
09-19 17:05:30.079 15150 15295 W art     : Before Android 4.1, method int java.util.concurrent.ThreadLocalRandom.internalNextInt(int, int) would have incorrectly overridden the package-private method in java.util.Random
09-19 17:05:30.079 15150 15295 W art     : Before Android 4.1, method long java.util.concurrent.ThreadLocalRandom.internalNextLong(long, long) would have incorrectly overridden the package-private method in java.util.Random
09-19 17:05:30.120 15150 15321 W Ads     : Invoke Firebase method getGmpAppId error.
09-19 17:05:30.120 15150 15321 W Ads     : java.lang.NoSuchMethodException: getGmpAppId []
09-19 17:05:30.120 15150 15321 W Ads     :      at java.lang.Class.getMethod(Class.java:1981)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.lang.Class.getDeclaredMethod(Class.java:1960)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.scionintegration.b.f(:com.google.android.gms.DynamiteModulesA@11509440:125)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.scionintegration.b.a(:com.google.android.gms.DynamiteModulesA@11509440:154)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.scionintegration.b.g(:com.google.android.gms.DynamiteModulesA@11509440:43)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.request.c.a(:com.google.android.gms.DynamiteModulesA@11509440:47)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.util.b.run(:com.google.android.gms.DynamiteModulesA@11509440:4)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.util.af.call(:com.google.android.gms.DynamiteModulesA@11509440:3)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.util.ag.run(:com.google.android.gms.DynamiteModulesA@11509440:3)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.lang.Thread.run(Thread.java:762)
09-19 17:05:30.120 15150 15321 W Ads     : Invoke Firebase method getGmpAppId error.
09-19 17:05:30.120 15150 15321 W Ads     : java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[])' on a null object reference
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.scionintegration.b.a(:com.google.android.gms.DynamiteModulesA@11509440:155)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.scionintegration.b.g(:com.google.android.gms.DynamiteModulesA@11509440:43)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.request.c.a(:com.google.android.gms.DynamiteModulesA@11509440:47)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.util.b.run(:com.google.android.gms.DynamiteModulesA@11509440:4)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.util.af.call(:com.google.android.gms.DynamiteModulesA@11509440:3)
09-19 17:05:30.120 15150 15321 W Ads     :      at com.google.android.gms.ads.internal.util.ag.run(:com.google.android.gms.DynamiteModulesA@11509440:3)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
09-19 17:05:30.120 15150 15321 W Ads     :      at java.lang.Thread.run(Thread.java:762)
09-19 17:05:30.120 15150 15321 W Ads     : The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firbase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
09-19 17:05:30.452  5343 15338 W Ads     : App does not have the required permissions to get location
09-19 17:05:30.828  3681  5537 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:921 com.android.server.am.ActivityManagerService.requestKnoxVpnToSendProxyBroadcast:26842 com.android.server.am.ActivityManagerService.registerReceiver:21672 android.app.ActivityManagerNative.onTransact:466 com.android.server.am.ActivityManagerService.onTransact:3611
09-19 17:05:30.929 15150 15361 W cr_media: Requires BLUETOOTH permission
09-19 17:05:30.966 15150 15378 E libEGL  : validate_display:99 error 3008 (EGL_BAD_DISPLAY)
09-19 17:05:30.979 15150 15378 W AudioCapabilities: Unsupported mime audio/mpeg-L1
09-19 17:05:30.979 15150 15378 W AudioCapabilities: Unsupported mime audio/mpeg-L2
09-19 17:05:30.985 15150 15378 W AudioCapabilities: Unsupported mime audio/x-ms-wma
09-19 17:05:30.986 15150 15378 W AudioCapabilities: Unsupported mime audio/x-ima
09-19 17:05:30.987 15150 15378 W VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es
09-19 17:05:30.987 15150 15378 W VideoCapabilities: Unrecognized profile/level 32768/2 for video/mp4v-es
09-19 17:05:30.987 15150 15378 W VideoCapabilities: Unrecognized profile/level 32768/64 for video/mp4v-es
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.990 15150 15378 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:30.992 15150 15378 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
09-19 17:05:31.000 15150 15378 W VideoCapabilities: Unsupported mime video/wvc1
09-19 17:05:31.001 15150 15378 W VideoCapabilities: Unsupported mime video/x-ms-wmv
09-19 17:05:31.004 15150 15378 W VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es
09-19 17:05:31.004 15150 15378 W VideoCapabilities: Unrecognized profile/level 32768/2 for video/mp4v-es
09-19 17:05:31.004 15150 15378 W VideoCapabilities: Unrecognized profile/level 32768/64 for video/mp4v-es
09-19 17:05:31.005 15150 15378 W VideoCapabilities: Unsupported mime video/wvc1
09-19 17:05:31.006 15150 15378 W VideoCapabilities: Unsupported mime video/x-ms-wmv
09-19 17:05:31.008 15150 15378 W VideoCapabilities: Unsupported mime video/x-ms-wmv7
09-19 17:05:31.009 15150 15378 W VideoCapabilities: Unsupported mime video/x-ms-wmv8
09-19 17:05:31.011 15150 15378 W VideoCapabilities: Unsupported mime video/mp43
09-19 17:05:31.013 15150 15378 W AudioCapabilities: Unsupported mime audio/mpeg-L1
09-19 17:05:31.014 15150 15378 W AudioCapabilities: Unsupported mime audio/mpeg-L2
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706433 for video/avc
09-19 17:05:31.015 15150 15378 W VideoCapabilities: Unrecognized profile 2130706434 for video/avc
09-19 17:05:31.018 15150 15378 W VideoCapabilities: Unrecognized profile/level 1/32 for video/mp4v-es
09-19 17:05:31.018 15150 15378 W VideoCapabilities: Unrecognized profile/level 32768/2 for video/mp4v-es
09-19 17:05:31.018 15150 15378 W VideoCapabilities: Unrecognized profile/level 32768/64 for video/mp4v-es
09-19 17:05:31.038 15150 15378 W VideoCapabilities: Unsupported mime video/sorenson
09-19 17:05:31.479  5343 15398 W Ads     : App does not have the required permissions to get location
09-19 17:05:31.712 15150 15150 W Ads     : Failed to load ad: 3
09-19 17:05:31.749  5343 15417 W Ads     : App does not have the required permissions to get location


[TOPIC: post.html]
#31

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

Containg "firebase"

 

C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat | FINDSTR firebase
09-19 17:12:28.854 17169 17183 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
09-19 17:12:28.863 17169 17183 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
09-19 17:12:28.881 17169 17169 D FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
09-19 17:12:28.906 17169 17169 I FA      :   adb shell setprop firebase.analytics.debug-mode com.balloonknotgames.fartcommander
09-19 17:12:29.394 17169 17200 V Corona  : > Class.forName: plugin.firebaseAuth.LuaLoader
09-19 17:12:29.394 17169 17200 V Corona  : < Class.forName: plugin.firebaseAuth.LuaLoader
09-19 17:12:29.394 17169 17200 V Corona  : Loading via reflection: plugin.firebaseAuth.LuaLoader
09-19 17:12:29.412 17169 17200 V Corona  : > Class.forName: plugin.firebaseInvites.LuaLoader
09-19 17:12:29.412 17169 17200 V Corona  : < Class.forName: plugin.firebaseInvites.LuaLoader
09-19 17:12:29.412 17169 17200 V Corona  : Loading via reflection: plugin.firebaseInvites.LuaLoader
09-19 17:12:38.981 17169 17183 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
 
09-19 17:14:43.019 17698 17867 W Ads     : The Google Mobile Ads SDK will not integrate with Firebase. Admob/Firbase integration requires the latest Firebase SDK jar, but Firebase SDK is either missing or out of date
 
09-19 17:14:43.019 17698 17867 W Ads     : Invoke Firebase method getGmpAppId error.
 
09-19 17:14:32.088 17698 17721 D FirebaseInstanceId: topic sync succeeded
 
09-19 17:14:41.533 17698 17744 V Corona  : Loading via reflection: plugin.firebaseInvites.LuaLoader


[TOPIC: post.html]
#32

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

I added a new api which allow you to force get invites

https://scotth.tech/plugin-firebaseInvites

[TOPIC: post.html]
#33

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

Here's what I'm getting now, along with my modified code...

 

C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat Corona:v *:s
--------- beginning of main
--------- beginning of system
V/Corona  (17698): > Class.forName: network.LuaLoader
V/Corona  (17698): < Class.forName: network.LuaLoader
V/Corona  (17698): Loading via reflection: network.LuaLoader
I/Corona  (17698): Platform: SM-N900T / ARM Neon / 5.0 / Adreno ™ 330 / OpenGL ES 3.0 V@84.0 AU@05.00.00.002.025 (CL@) / 2017.3135 / English | US | en_US | en
V/Corona  (17698): > Class.forName: shared.google.play.services.base.LuaLoader
V/Corona  (17698): < Class.forName: shared.google.play.services.base.LuaLoader
V/Corona  (17698): Loading via reflection: shared.google.play.services.base.LuaLoader
V/Corona  (17698): > Class.forName: _CoronaSetup.LuaLoader
V/Corona  (17698): > Class.forName: plugin.facebook.v4a.LuaLoader
V/Corona  (17698): < Class.forName: plugin.facebook.v4a.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.facebook.v4a.LuaLoader
V/Corona  (17698): > Class.forName: plugin.appodeal.LuaLoader
V/Corona  (17698): < Class.forName: plugin.appodeal.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.appodeal.LuaLoader
V/Corona  (17698): > Class.forName: plugin.firebaseAuth.LuaLoader
V/Corona  (17698): < Class.forName: plugin.firebaseAuth.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.firebaseAuth.LuaLoader
V/Corona  (17698): > Class.forName: plugin.volumeControl.LuaLoader
V/Corona  (17698): < Class.forName: plugin.volumeControl.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.volumeControl.LuaLoader
V/Corona  (17698): > Class.forName: plugin.bassBoost.LuaLoader
V/Corona  (17698): < Class.forName: plugin.bassBoost.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.bassBoost.LuaLoader
V/Corona  (17698): > Class.forName: plugin.firebaseInvites.LuaLoader
V/Corona  (17698): < Class.forName: plugin.firebaseInvites.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.firebaseInvites.LuaLoader
V/Corona  (17698): > Class.forName: OneSignal.LuaLoader
V/Corona  (17698): < Class.forName: OneSignal.LuaLoader
V/Corona  (17698): Loading via reflection: OneSignal.LuaLoader
I/Corona  (17698): Starting Corona OneSignal SDK v1.13.3
I/Corona  (17698): plugin.appodeal: 1.3.3 (SDK: 2.1.3)
I/Corona  (17698): ***************** EVENT ******************** applicationStart
I/Corona  (17698): name
I/Corona  (17698): system
I/Corona  (17698): type
I/Corona  (17698): applicationStart
V/Corona  (17698): > Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona  (17698): < Class.forName: CoronaProvider.licensing.google.LuaLoader
V/Corona  (17698): Loading via reflection: CoronaProvider.licensing.google.LuaLoader
I/Corona  (17698): Facebook initialized
I/Corona  (17698): [Lua::RuntimeDispatchEvent()] WARNING: This function is deprecated. Use Lua::DispatchRuntimeEvent() instead.
^C
 
C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat | FINDSTR firebase
W/DynamiteModule(17698): Local module descriptor class for com.google.firebase.auth not found.
D/FirebaseApp(17698): com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
W/DynamiteModule(17698): Local module descriptor class for com.google.firebase.auth not found.
I/FA      (17698):   adb shell setprop firebase.analytics.debug-mode com.balloonknotgames.fartcommander
V/Corona  (17698): > Class.forName: plugin.firebaseAuth.LuaLoader
V/Corona  (17698): < Class.forName: plugin.firebaseAuth.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.firebaseAuth.LuaLoader
V/Corona  (17698): > Class.forName: plugin.firebaseInvites.LuaLoader
V/Corona  (17698): < Class.forName: plugin.firebaseInvites.LuaLoader
V/Corona  (17698): Loading via reflection: plugin.firebaseInvites.LuaLoader
W/DynamiteModule(17698): Local module descriptor class for com.google.firebase.auth not found.
 
 



------------------------------------
-- FIREBASE AUTH
------------------------------------

firebaseAuth = require( "plugin.firebaseAuth" )
firebaseAuth.init()
 


------------------------------------
-- FIREBASE INVITES
------------------------------------
firebaseInvites = require ( "plugin.firebaseInvites" )
firebaseInvites.init()




 


local launchArgs = ...
 
if launchArgs and launchArgs.url then
print("Data From Launch")
print("--------")
print(json.encode(launchArgs))
print("--------")
end
 
------------------------------------
-- SYSTEM EVENTS LISTENER
------------------------------------
local function onSystemEvent( event )
 
print("***************** EVENT ******************** " .. event.type)
 
if event.type == "applicationOpen" and event.url then
print("Data From Open")
print("--------")
print(json.encode(event))
print("--------")
end
glo.DeepPrint(event)
local url = glo.baseUrl .. "UserApplicationStatus/updateStatus?userEmail="
if(event.type == "applicationStart") then
-- glo.DeepPrint(event)
network.request(url .. glo.userEmail .. "&isRunning=true", "GET", nil )
end
if(event.type == "applicationExit") then
network.request(url .. glo.userEmail .. "&isRunning=false", "GET", nil )
end
end
 
Runtime:addEventListener( "system", onSystemEvent )
 


-----------------------------
-- SHARING
-----------------------------
function loadShareScreen(shareWith)
if (shareWith == "Contacts") then
local message = "Custom Message"
local title = "Custom Title"
local deepLink = "In App Share"
local callToActionText = "Click Here to Get It"
customImage = "http://54.213.63.96/AppIcon_600_600.png"
firebaseInvites.show(message, title, deepLink, nil, customImage, function ( ev )
if (ev.isError == true) then
if (ev.error ~= "Canceled by User") then
native.showAlert("Invites error", json.encode(ev), {"Ok"})
end
else
-- print("********FIREBASE********") 
-- glo.DeepPrint(ev) 
local ids = ""
for key, value in pairs(ev.invitationIds) do
ids = ids .. "," .. value
end
RecordInvitations(ids)
end
end)
end
if (shareWith == "Facebook") then
facebook.login( facebookListener )
end
end




 
 

useGoogleServicesJson = true, 
        intentFilters = {
{
actions = { "android.intent.action.VIEW" },
categories ={
"android.intent.category.DEFAULT",
"android.intent.category.BROWSABLE",
},
data = { scheme = "In App Share" },
},
},

 


[TOPIC: post.html]
#34

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

Whoops github repo was not updated

 

https://github.com/scottrules44/firebaseInvites-demo/blob/master/main.lua



[TOPIC: post.html]
#35

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

Still not seeing anything buddy.  Note, this is with the app already installed.  I assume it should receive the invite either way?

 

SHORT LINK

https://p43a9.app.goo.gl/i/NhJZQ

 

LONG LINK

https://play.google.com/store/apps/details?id=com.balloonknotgames.fartcommander&pcampaignid=appinvite_&referrer=deep_link_id%3Dhttps://balloonknotgames.com/AppInvite%26invitation_id%3D377426389920-fda0b5a2-bc89-4055-ba44-38ad638423bc

 

ADB OUTPUT

C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat Corona:v *:s
--------- beginning of main
--------- beginning of system
09-21 17:07:18.153  8119  8746 V Corona  : > Class.forName: network.LuaLoader
09-21 17:07:18.153  8119  8746 V Corona  : < Class.forName: network.LuaLoader
09-21 17:07:18.153  8119  8746 V Corona  : Loading via reflection: network.LuaLoader
09-21 17:07:18.164  8119  8746 I Corona  : Platform: SM-G920T / ARM Neon / 7.0 / Mali-T760 / OpenGL ES 3.2 v1.r15p0-00rel0.68b65ac7cf15907aeb95fa944f39eef2 / 2017.3135 / English | US | en_US | en
09-21 17:07:18.174  8119  8746 V Corona  : > Class.forName: shared.google.play.services.base.LuaLoader
09-21 17:07:18.174  8119  8746 V Corona  : < Class.forName: shared.google.play.services.base.LuaLoader
09-21 17:07:18.174  8119  8746 V Corona  : Loading via reflection: shared.google.play.services.base.LuaLoader
09-21 17:07:18.192  8119  8746 V Corona  : > Class.forName: _CoronaSetup.LuaLoader
09-21 17:07:18.196  8119  8746 V Corona  : > Class.forName: plugin.liveBuild.LuaLoader
09-21 17:07:18.196  8119  8746 V Corona  : < Class.forName: plugin.liveBuild.LuaLoader
09-21 17:07:18.196  8119  8746 V Corona  : Loading via reflection: plugin.liveBuild.LuaLoader
09-21 17:07:18.210  8119  8746 V Corona  : > Class.forName: plugin.facebook.v4a.LuaLoader
09-21 17:07:18.210  8119  8746 V Corona  : < Class.forName: plugin.facebook.v4a.LuaLoader
09-21 17:07:18.210  8119  8746 V Corona  : Loading via reflection: plugin.facebook.v4a.LuaLoader
09-21 17:07:18.216  8119  8746 V Corona  : > Class.forName: plugin.appodeal.LuaLoader
09-21 17:07:18.216  8119  8746 V Corona  : < Class.forName: plugin.appodeal.LuaLoader
09-21 17:07:18.216  8119  8746 V Corona  : Loading via reflection: plugin.appodeal.LuaLoader
09-21 17:07:18.219  8119  8746 V Corona  : > Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:07:18.220  8119  8746 V Corona  : < Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:07:18.220  8119  8746 V Corona  : Loading via reflection: plugin.firebaseAuth.LuaLoader
09-21 17:07:18.222  8119  8746 V Corona  : > Class.forName: plugin.volumeControl.LuaLoader
09-21 17:07:18.223  8119  8746 V Corona  : < Class.forName: plugin.volumeControl.LuaLoader
09-21 17:07:18.223  8119  8746 V Corona  : Loading via reflection: plugin.volumeControl.LuaLoader
09-21 17:07:18.223  8119  8746 V Corona  : > Class.forName: plugin.bassBoost.LuaLoader
09-21 17:07:18.223  8119  8746 V Corona  : < Class.forName: plugin.bassBoost.LuaLoader
09-21 17:07:18.223  8119  8746 V Corona  : Loading via reflection: plugin.bassBoost.LuaLoader
09-21 17:07:18.237  8119  8746 V Corona  : > Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:07:18.237  8119  8746 V Corona  : < Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:07:18.237  8119  8746 V Corona  : Loading via reflection: plugin.firebaseInvites.LuaLoader
09-21 17:07:18.257  8119  8746 V Corona  : > Class.forName: OneSignal.LuaLoader
09-21 17:07:18.257  8119  8746 V Corona  : < Class.forName: OneSignal.LuaLoader
09-21 17:07:18.257  8119  8746 V Corona  : Loading via reflection: OneSignal.LuaLoader
09-21 17:07:18.257  8119  8746 I Corona  : Starting Corona OneSignal SDK v1.13.3
09-21 17:07:18.321  8119  8746 I Corona  : plugin.appodeal: 1.3.3 (SDK: 2.1.3)
09-21 17:07:18.430  8119  8746 V Corona  : > Class.forName: CoronaProvider.licensing.google.LuaLoader
09-21 17:07:18.430  8119  8746 V Corona  : < Class.forName: CoronaProvider.licensing.google.LuaLoader
09-21 17:07:18.432  8119  8746 V Corona  : Loading via reflection: CoronaProvider.licensing.google.LuaLoader
09-21 17:07:18.463  8119  8746 I Corona  : Facebook initialized
09-21 17:07:20.256  8119  8746 I Corona  : **** GET INVITE CALLED ****

 

09-21 17:07:20.292  8119  8746 I Corona  : **** GET INVITE FINISHED ****

 

THE CODE


------------------------------------
-- FIREBASE INVITES
------------------------------------
firebaseInvites = require ( "plugin.firebaseInvites" )
firebaseInvites.init()
local function getInvite()
print( "**** GET INVITE CALLED ****" )
firebaseInvites.getInvite(function ( ev )
if(#ev > 0) then
print("**** GOT EVENT DATA ****")
print(json.encode(ev))
else
print("**** NO EVENT DATA ****")
end
end)
print( "**** GET INVITE FINISHED ****" )
return
end
timer.performWithDelay( 5000, getInvite)
 


-----------------------------
-- SHARING
-----------------------------




function loadShareScreen(shareWith)
if (shareWith == "Contacts") then
 

firebaseInvites.show("My Message", "My Title", "https://balloonknotgames.com/AppInvite", nil, nil, function ( ev )

if (ev.isError == true) then
if (ev.error ~= "Canceled by User") then
native.showAlert("Invites error", json.encode(ev), {"Ok"})
end
else
local ids = ""
for key, value in pairs(ev.invitationIds) do
ids = ids .. "," .. value
end

--RecordInvitations(ids) 

end
end)
end
if (shareWith == "Facebook") then
facebook.login( facebookListener )
end
end



 useGoogleServicesJson = true, 
        intentFilters = {
			{
				actions = { "android.intent.action.VIEW" },
				categories ={
					"android.intent.category.DEFAULT",
					"android.intent.category.BROWSABLE",
				},
				data = {scheme = "https", host = "balloonknotgames.com" },
			},
		},


[TOPIC: post.html]
#36

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

This might be of interest....

 

C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat | FINDSTR firebase
 
09-21 17:07:18.219  8119  8746 V Corona  : > Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:07:18.220  8119  8746 V Corona  : < Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:07:18.220  8119  8746 V Corona  : Loading via reflection: plugin.firebaseAuth.LuaLoader
09-21 17:07:18.237  8119  8746 V Corona  : > Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:07:18.237  8119  8746 V Corona  : < Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:07:18.237  8119  8746 V Corona  : Loading via reflection: plugin.firebaseInvites.LuaLoader
09-21 17:09:42.336  8119  9180 V Corona  : > Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:09:42.336  8119  9180 V Corona  : < Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:09:42.336  8119  9180 V Corona  : Loading via reflection: plugin.firebaseAuth.LuaLoader
09-21 17:09:42.341  8119  9180 V Corona  : > Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:09:42.341  8119  9180 V Corona  : < Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:09:42.341  8119  9180 V Corona  : Loading via reflection: plugin.firebaseInvites.LuaLoader
09-21 17:09:55.704  9310  9324 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
09-21 17:09:55.712  9310  9324 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
09-21 17:09:55.744  9310  9310 D FirebaseApp: com.google.firebase.crash.FirebaseCrash is not linked. Skipping initialization.
09-21 17:09:55.780  9310  9310 I FA      :   adb shell setprop firebase.analytics.debug-mode com.balloonknotgames.fartcommander
09-21 17:10:04.590 29045  9374 I art     : Rejecting re-init on previously-failed class java.lang.Class<com.appsflyer.o>: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/iid/FirebaseInstanceIdService;
09-21 17:10:04.591 29045  9374 I art     : Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.iid.FirebaseInstanceIdService" on path: DexPathList[[zip file "/system/framework/android.test.runner.jar", zip file "/data/app/com.ksmobile.launcher-1/base.apk"],nativeLibraryDirectories=[/data/app/com.ksmobile.launcher-1/lib/arm, /system/fake-libs, /data/app/com.ksmobile.launcher-1/base.apk!/lib/armeabi, /system/lib, /vendor/lib]]
09-21 17:10:05.933  9310  9324 W DynamiteModule: Local module descriptor class for com.google.firebase.auth not found.
09-21 17:10:19.926  9310  9553 V Corona  : > Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:10:19.926  9310  9553 V Corona  : < Class.forName: plugin.firebaseAuth.LuaLoader
09-21 17:10:19.926  9310  9553 V Corona  : Loading via reflection: plugin.firebaseAuth.LuaLoader
09-21 17:10:19.948  9310  9553 V Corona  : > Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:10:19.948  9310  9553 V Corona  : < Class.forName: plugin.firebaseInvites.LuaLoader
09-21 17:10:19.948  9310  9553 V Corona  : Loading via reflection: plugin.firebaseInvites.LuaLoader


[TOPIC: post.html]
#37

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

I found the issue I had to connect to the google client, the same code should work please try again in a hour.



[TOPIC: post.html]
#38

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

It works!!! At least I think it does lol.  

 

The inviteId is only available when applicationOpen fires; which is to be expected since URL requests fire that event. However, I was only able to get it to fire once.  I would expect it to fire whether the app is installed or not, but regardless, I've tested both with the app installed and uninstalled.

 

Having the call in the timer causes an error if applicationOpen doesn't fire, so I moved the call into the event. Now I can't get the applicationOpen event to fire again.  

 

Note : I've tried it a few different ways and calling firebaseInvites.getInvite() always throws an error if applicationOpen wasn't fired (e.g. there was no url present)

 


if(event.type == "applicationOpen") then
firebaseInvites.getInvite(function ( ev )
if(ev) then
print( ev.inviteId )
glo.invitationId = ev.inviteId
end
end)
end



[TOPIC: post.html]
#39

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

Application open only fires if App is open in background, I believed

[TOPIC: post.html]
#40

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

I've tried it all ways.  Opened, closed, foregrounded, backgrounded, installed, uninstalled, etc...



[TOPIC: post.html]
#41

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

Could you post the logs of the error you see?

[TOPIC: post.html]
#42

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

Sure.  On a side note, I sent you a little donation to say thanks for all of your efforts with this.  It's not much but you can buy some beer or whatever you're into :-)



[TOPIC: post.html]
#43

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

Thanks

[TOPIC: post.html]
#44

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

I think we're good. I believe what happens is that the invitation becomes unavailable after it is used.  So once I sent the invitation and performed the install, the invitation link was no longer useful for future testing.

 

Thanks again for your diligence. This was a big deal for me and my app.



[TOPIC: post.html]
#45

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

I think we're good. I believe what happens is that the invitation becomes unavailable after it is used.  So once I sent the invitation and performed the install, the invitation link was no longer useful for future testing.

 

Thanks again for your diligence. This was a big deal for me and my app.

Glad to hear   :)



[TOPIC: post.html]
#46

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

Sigh...looks like I jumped the gun. A couple of friends tried it from production and it's not working. I debugged on one of their phones and the event is never fired.

 

C:\Users\clint\AppData\Local\Android\sdk\platform-tools>adb logcat *:E
--------- beginning of main
09-22 14:10:29.083 31408 31408 E KBattery: [PLACE] at dnq.w(CommonUtils.java:3721)
09-22 14:10:29.083 31408 31408 E KBattery: [MESSAGE] SimState:5
09-22 14:10:29.083 31408 31408 E KBattery:
09-22 14:10:29.092 31408 31408 E KBattery: [PLACE] at dnq.z(CommonUtils.java:335)
09-22 14:10:29.092 31408 31408 E KBattery: [MESSAGE] getDataEnabled = true
09-22 14:10:29.092 31408 31408 E KBattery:
--------- beginning of system
09-22 14:10:29.672 31408 31408 E lastTime: minimumDays:-1
09-22 14:10:29.892 31408 31470 E ConnectivityManager.CallbackHandler: callback not found for RELEASED message
09-22 14:10:30.672 31408 31408 E PermanentService: PermanentService init
09-22 14:10:30.680 31408 31408 E PermanentService:  onBind
09-22 14:10:30.935  3686  4495 E Watchdog: !@Sync 2141 [22_Sep_14_10_30.935]
09-22 14:10:31.811 31673 31673 E Zygote  : v2
09-22 14:10:31.812 31673 31673 E Zygote  : accessInfo : 0
09-22 14:10:41.868 30254 31722 E InfocLog:  read imei in getinstance, again
09-22 14:10:44.223 30043 31729 E NoAlertsUtil: enableNotifications
09-22 14:10:44.225 30043 30043 E NoAlertsUtil: enableNotifications
09-22 14:10:44.273 31775 31775 E Mms/DbUtils: rebuild done, 1 drafts,Elapsed time : 54.35267 ms
09-22 14:10:44.460  5159  5377 E cm_cmc_c: app launch:com.android.systemui
09-22 14:10:46.311  3686  5548 E ActivityManager: applyOptionsLocked: Unknown animationType=0
09-22 14:10:46.544  5159  5377 E cm_cmc_c: app launch:com.samsung.android.messaging
09-22 14:10:50.753 31408 31754 E InfocLog:  read imei in getinstance, again
09-22 14:10:50.753 31408 31755 E mmm     : CALL BACK....: yo$5@5b9aad7
09-22 14:10:50.757 31408 31755 E mmm     : CALL BACK....: yg$1@b656fc4
09-22 14:10:51.852 31757 31757 E Zygote  : v2
09-22 14:10:51.853 31757 31757 E Zygote  : isSdpEnabledProcess - SDP enabled
09-22 14:10:51.855 31757 31757 E Zygote  : accessInfo : 64
09-22 14:10:51.855 31757 31757 E Zygote  : isSdpEnabledProcess - SDP enabled
09-22 14:10:51.855 31757 31757 E Zygote  : setSDPgroupsIntarray[pid]: 0 / [gid]: 10164 / [uid]: 10164
09-22 14:10:51.933 31775 31775 E ViewRootImpl: sendUserActionEvent() mView == null
09-22 14:10:52.109 31757 31757 E ReflectField: Incorrect type : Fallback exception
09-22 14:10:52.133 31757 31757 E ReflectField: Incorrect type : Fallback exception
09-22 14:10:52.175 31757 31757 E ReflectMethod: Cannot load method: getEnableStatus [class java.lang.String]
09-22 14:10:52.176 31757 31757 E ReflectMethod: Cannot load method: getEnableStatus [class java.lang.String, boolean]
09-22 14:10:52.183 31757 31757 E ReflectMethod: Cannot load method: getEnableStatus [class java.lang.String]
09-22 14:10:52.365 31408 31755 E mmm     : CALL BACK....: yo$5@7d67ead
09-22 14:10:52.369 31408 31780 E InfocLog:  read imei in getinstance, again
09-22 14:10:52.370 31757 31790 E CloseBy : Failed to create input stream for global policy
09-22 14:10:52.382 31408 31755 E mmm     : CALL BACK....: yg$1@7bad5e2
09-22 14:10:52.406 30254 31794 E InfocLog:  read imei in getinstance, again
09-22 14:10:52.444 31408 31755 E mmm     : CALL BACK....: yo$5@6841d73
09-22 14:10:52.457 30228 31788 E InfocLog:  read imei in getinstance, again
09-22 14:10:52.458 31408 31755 E mmm     : CALL BACK....: yg$1@12bc430
09-22 14:10:52.506 31408 31755 E mmm     : CALL BACK....: yo$5@28958a9
09-22 14:10:52.519 31408 31755 E mmm     : CALL BACK....: yg$1@9346e2e
09-22 14:10:53.043  3686  3855 E SemContext.CaeProvider: setAttribute() : attribute is null!
09-22 14:10:53.191 31757 31757 E DesktopHandler: Fallback exception
09-22 14:10:53.441  3686  5001 E JavaBinder: *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
09-22 14:10:53.441  3686  5001 E JavaBinder: java.lang.IllegalMonitorStateException: object not locked by thread before notify()
09-22 14:10:53.441  3686  5001 E JavaBinder:    at java.lang.Object.notify(Native Method)
09-22 14:10:53.441  3686  5001 E JavaBinder:    at com.android.server.cover.StateNotifier.removeListenerFromListLocked(StateNotifier.java:328)
09-22 14:10:53.441  3686  5001 E JavaBinder:    at com.android.server.cover.StateNotifier.unregisterCallback(StateNotifier.java:295)
09-22 14:10:53.441  3686  5001 E JavaBinder:    at com.android.server.cover.CoverManagerService.unregisterCallback(CoverManagerService.java:355)
09-22 14:10:53.441  3686  5001 E JavaBinder:    at com.android.server.cover.CoverManagerService.unregisterCallback(CoverManagerService.java:1168)
09-22 14:10:53.441  3686  5001 E JavaBinder:    at com.samsung.android.cover.ICoverManager$Stub.onTransact(ICoverManager.java:85)
09-22 14:10:53.441  3686  5001 E JavaBinder:    at android.os.Binder.execTransact(Binder.java:573)
09-22 14:10:53.452 31317 31317 E BluetoothHeadset: BTStateChangeCB is unregisted
09-22 14:10:53.774 31757 31848 E chromium: [ERROR:devtools_http_handler.cc(817)] Error -108 getting local address
09-22 14:10:53.787 31850 31850 E Zygote  : v2
09-22 14:10:53.788 31850 31850 E Zygote  : isSdpEnabledProcess - SDP enabled
09-22 14:10:53.789 31850 31850 E Zygote  : accessInfo : 64
09-22 14:10:53.789 31850 31850 E Zygote  : isSdpEnabledProcess - SDP enabled
09-22 14:10:53.789 31850 31850 E Zygote  : setSDPgroupsIntarray[pid]: 0 / [gid]: 10164 / [uid]: 10164
09-22 14:10:53.795 31757 31757 E EasySigninController: initializeIris exception: com.samsung.android.sdk.a: This device is not supported Siris!!!
09-22 14:10:53.827 31394 31406 E AuthFW_PS_PassServiceManager: Need Samsung Account Activate!
09-22 14:10:53.855 31850 31850 E ReflectField: Incorrect type : Fallback exception
09-22 14:10:53.856 31850 31850 E ReflectField: Incorrect type : Fallback exception
09-22 14:10:53.863 31850 31869 E CloseBy : Failed to create input stream for global policy
09-22 14:10:53.971 31881 31881 E Zygote  : accessInfo : 64
09-22 14:10:53.971 31881 31881 E Zygote  : isSdpEnabledProcess - SDP enabled
09-22 14:10:53.971 31881 31881 E Zygote  : setSDPgroupsIntarray[pid]: 0 / [gid]: 99025 / [uid]: 99025
09-22 14:10:54.010 31850 31870 E libEGL  : validate_display:99 error 3008 (EGL_BAD_DISPLAY)
09-22 14:10:54.038  3686  3855 E SemContext.CaeProvider: setAttribute() : attribute is null!
09-22 14:10:54.259 31757 31757 E chromium: [ERROR:layer_tree_host_impl.cc(2247)] Forcing zero-copy tile initialization as worker context is missing
09-22 14:10:54.588 31881 31881 E ReflectField: Incorrect type : Fallback exception
09-22 14:10:54.588 31881 31881 E ReflectField: Incorrect type : Fallback exception
09-22 14:10:54.621 31881 31921 E CloseBy : Failed to create input stream for global policy
09-22 14:10:54.623  3040  3040 E audit   : type=1400 audit(1506103854.601:8016): avc:  denied  { search } for  pid=31921 comm="pool-1-thread-1" name="com.sec.android.app.sbrowser" dev="sda17" ino=524797 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0008
09-22 14:10:54.623  3040  3040 E audit   : type=1400 audit(1506103854.611:8017): avc:  denied  { search } for  pid=31921 comm="pool-1-thread-1" name="com.sec.android.app.sbrowser" dev="sda17" ino=524797 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0008
09-22 14:10:54.623  3040  3040 E audit   : type=1400 audit(1506103854.611:8018): avc:  denied  { search } for  pid=31921 comm="pool-1-thread-1" name="com.sec.android.app.sbrowser" dev="sda17" ino=524797 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0008
09-22 14:10:54.624  3040  3040 E audit   : type=1400 audit(1506103854.611:8019): avc:  denied  { search } for  pid=31881 comm="dboxed_process0" name="com.sec.android.app.sbrowser" dev="sda17" ino=524797 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0008
09-22 14:10:54.624  3040  3040 E audit   : type=1400 audit(1506103854.611:8020): avc:  denied  { search } for  pid=31881 comm="dboxed_process0" name="com.sec.android.app.sbrowser" dev="sda17" ino=524797 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 SEPF_SECMOBILE_7.0_0008
09-22 14:10:55.179 31757 31757 E ReflectMethod: Cannot load method: getData [class android.content.Context, int, interface com.samsung.android.content.clipboard.SemClipboardManager$OnAddClipResultListener]
09-22 14:10:55.180 31757 31757 E ReflectMethod: Cannot load method: setData [class android.content.Context, class com.samsung.android.content.clipboard.data.SemClipData]
09-22 14:10:55.180 31757 31757 E ReflectMethod: Cannot load method: dismissUIDataDialog []
09-22 14:10:55.181 31757 31757 E ReflectMethod: Cannot load method: hasData [int]
09-22 14:10:55.181 31757 31757 E ReflectMethod: Cannot load method: showClipboard [int, interface com.samsung.android.content.clipboard.SemClipboardManager$OnPasteListener]
09-22 14:10:55.181 31757 31757 E ReflectMethod: Cannot load method: hasDataOf [int]
09-22 14:10:55.763 31757 31757 E chromium: [ERROR:password_manager.cc(555)] CanProvisionalManagerSave No provisional save manager
09-22 14:10:56.557  5159  5377 E cm_cmc_c: app launch:com.android.vending
09-22 14:10:57.471 20202 20202 E NFC     : isAndroidBeamAllowed - Begin
09-22 14:10:57.504 20202 20202 E NFC     : isAndroidBeamAllowed - Begin
09-22 14:10:57.651 20202 20202 E NFC     : isAndroidBeamAllowed - Begin
09-22 14:11:00.356 20202 20202 E NFC     : isAndroidBeamAllowed - Begin
09-22 14:11:00.359 20202 31948 E FA      : Missing google_app_id. Firebase Analytics disabled. See https://goo.gl/NAOOOI
09-22 14:11:00.393 31967 31967 E Zygote  : v2
09-22 14:11:00.394 31967 31967 E Zygote  : accessInfo : 0
09-22 14:11:00.560 30043 30043 E GameTools: com.samsung.android.game.gamehomeis disabled
09-22 14:11:00.560 30043 30043 E GameTools: isGameHomeEnableSync() false false
09-22 14:11:00.566  5159  5377 E cm_cmc_c: app launch:com.balloonknotgames.fartcommander
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (MAX86900) without holding its required permission: com.samsung.permission.SSENSOR
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
09-22 14:11:00.753  3686  4576 E SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
09-22 14:11:00.936  3686  4495 E Watchdog: !@Sync 2142 [22_Sep_14_11_00.935]
09-22 14:11:01.319 31967 32006 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-22 14:11:01.508 31967 32006 E OneSignalSDK: OneSignal UserId: b27b49cd-2f52-4a07-8337-86a8295e2b6f
09-22 14:11:02.078  5176  5259 E ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 1Kb duration : 6ms lastUpdatedAfter : 37230 ms mFlush_time_threasold : 2000 mCurrentSize : 668
09-22 14:11:04.156 31967 32188 E libEGL  : validate_display:99 error 3008 (EGL_BAD_DISPLAY)
09-22 14:11:06.164  3686  3706 E BatteryStatsService: power: Missing API
09-22 14:11:06.184  5558  5558 E MtpServerJNI: server is null in send_object_removed
09-22 14:11:06.194  3686  3706 E BatteryStatsService: no controller energy info supplied
09-22 14:11:06.263  3686  3706 E BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0}
09-22 14:11:11.828 32245 32245 E Zygote  : v2
09-22 14:11:11.831 32245 32245 E Zygote  : accessInfo : 0
09-22 14:11:12.573  3040  3040 E audit   : type=1400 audit(1506103872.551:8021): avc:  denied  { read } for  pid=32245 comm="ana:videoplayer" name="core_pattern" dev="proc" ino=3298897 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:usermodehelper:s0 tclass=file permissive=0 SEPF_SECMOBILE_7.0_0008
09-22 14:11:21.825 32270 32270 E Zygote  : v2
09-22 14:11:21.828 32270 32270 E Zygote  : accessInfo : 0
09-22 14:11:23.107 32270 32314 E msgr.X.15w: Failed to decrypt master key using logged in user entity
09-22 14:11:23.107 32270 32314 E msgr.X.15w: X.2Fg: The message could not be decrypted successfully.It has either been tampered with or the wrong resource is being decrypted.
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.16B.b(:203219)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.167.b(:203075)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.15w.a(:202577)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.15w.getCipherKey(:202641)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.15e.a(:201255)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0zY.b(:186662)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aL.a(:87590)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aR.a(:87804)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aW.b(:88278)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aL.a(:87590)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aR.a(:87804)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0c8.a(:95557)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aK.b(:87410)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aL.a(:87590)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aR.a(:87804)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0Zc.run(:86505)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0Zx.run(:86801)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.Handler.handleCallback(Handler.java:751)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.Handler.dispatchMessage(Handler.java:95)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.Looper.loop(Looper.java:154)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.HandlerThread.run(HandlerThread.java:61)
09-22 14:11:23.107 32270 32314 E msgr.X.15w: Failed to decrypt master key using zero-fbid user entity
09-22 14:11:23.107 32270 32314 E msgr.X.15w: X.2Fg: The message could not be decrypted successfully.It has either been tampered with or the wrong resource is being decrypted.
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.16B.b(:203219)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.167.b(:203075)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.15w.a(:202582)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.15w.getCipherKey(:202641)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.15e.a(:201255)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0zY.b(:186662)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aL.a(:87590)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aR.a(:87804)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aW.b(:88278)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aL.a(:87590)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aR.a(:87804)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0c8.a(:95557)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aK.b(:87410)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aL.a(:87590)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0aR.a(:87804)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0Zc.run(:86505)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:428)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at X.0Zx.run(:86801)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.Handler.handleCallback(Handler.java:751)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.Handler.dispatchMessage(Handler.java:95)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.Looper.loop(Looper.java:154)
09-22 14:11:23.107 32270 32314 E msgr.X.15w:    at android.os.HandlerThread.run(HandlerThread.java:61)
09-22 14:11:27.699 32270 32351 E AttributeStoreImpl.cpp: Read invalid json from disk: json parse error on line 0: expected json value
09-22 14:11:30.938  3686  4495 E Watchdog: !@Sync 2143 [22_Sep_14_11_30.937]
09-22 14:11:31.826 32411 32411 E Zygote  : v2
09-22 14:11:31.828 32411 32411 E Zygote  : accessInfo : 0
09-22 14:11:32.465  3686  3890 E SensorService: getSensorList a sensor (MAX86900) without holding its required permission: com.samsung.permission.SSENSOR
09-22 14:11:32.465  3686  3890 E SensorService: getSensorList a sensor (HRM Ambient Light Canceling) without holding its required permission: com.samsung.permission.HRM_EXT
09-22 14:11:32.465  3686  3890 E SensorService: getSensorList a sensor (HRMLED IR) without holding its required permission: android.permission.BODY_SENSORS
09-22 14:11:32.465  3686  3890 E SensorService: getSensorList a sensor (HRMLED RED) without holding its required permission: android.permission.BODY_SENSORS
09-22 14:11:32.465  3686  3890 E SensorService: getSensorList a sensor (HRM Proximity detecting) without holding its required permission: com.samsung.permission.HRM_EXT
09-22 14:11:32.465  3686  3890 E SensorService: getSensorList a sensor (HRM Sensor) without holding its required permission: com.samsung.permission.SSENSOR
09-22 14:11:32.466  3686  3890 E SensorService: getSensorList a sensor (HeartRate Sensor) without holding its required permission: android.permission.BODY_SENSORS
09-22 14:11:32.466  3686  3890 E SensorService: getSensorList a sensor (Sensor Diagnostic Monitor) without holding its required permission: com.samsung.permission.SSENSOR
09-22 14:11:32.701 32411 32411 F Adjust  : PRODUCTION: Adjust is running in Production mode. Use this setting only for the build that you want to publish. Set the environment to `sandbox` if you want to test your app!
09-22 14:11:32.900  3686  3967 E WifiWatchdogStateMachine: Unhandled message { when=0 what=135229 target=com.android.internal.util.StateMachine$SmHandler } in state ValidNonSwitchableState
09-22 14:11:33.243 32521 32521 E Zygote  : v2
09-22 14:11:33.245 32521 32521 E Zygote  : accessInfo : 0
09-22 14:11:34.040 32521 32521 F Adjust  : PRODUCTION: Adjust is running in Production mode. Use this setting only for the build that you want to publish. Set the environment to `sandbox` if you want to test your app!
09-22 14:11:34.123 32521 32521 E System  : Ignoring attempt to set property "java.net.preferIPv6Addresses" to value "false".
09-22 14:11:34.453  3686  3924 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=783, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
09-22 14:11:34.454  3686  3924 E ConnectivityService: RemoteException caught trying to send a callback msg for NetworkRequest [ id=782, legacyType=-1, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED] ]
09-22 14:11:34.479 32624 32624 E Zygote  : v2
09-22 14:11:34.481 32624 32624 E Zygote  : accessInfo : 0
09-22 14:11:34.511  3686  5546 E Sensors : Pressure old sensor_state 16385, new sensor_state : 16417 en : 1
09-22 14:11:34.735  3686  3890 E Sensors : Pressure old sensor_state 16417, new sensor_state : 16385 en : 0
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess: Can't load GNU STL lib
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess: java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libcpp_helper.so
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.facebook.soloader.t.a(:79064)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.facebook.soloader.t.c(:79093)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.facebook.breakpad.BreakpadManager.b(:29506)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.instagram.process.InstagramApplicationForMainProcess.ensureJNIPrerequisites(:318292)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.instagram.process.InstagramApplicationForMainProcess.onCreate(:318502)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.instagram.app.InstagramAppShell.onCreate(:112830)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5876)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at android.app.ActivityThread.-wrap3(ActivityThread.java)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1699)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at android.os.Handler.dispatchMessage(Handler.java:102)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at android.os.Looper.loop(Looper.java:154)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at android.app.ActivityThread.main(ActivityThread.java:6682)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at java.lang.reflect.Method.invoke(Native Method)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520)
09-22 14:11:34.767 32624 32624 E InstagramApplicationForMainProcess:    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410)
09-22 14:11:34.953 32683 32683 E Zygote  : v2
09-22 14:11:34.955 32683 32683 E Zygote  : accessInfo : 0


[TOPIC: post.html]
#47

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

What code are you using? Can you produce a demo?



[TOPIC: post.html]
#48

Scott Harrison

[GLOBAL: userInfoPane.html]
Scott Harrison
  • Corona Geek

  • 1,785 posts
  • Enterprise

You also need to make sure the devices are connected to the internet.



[TOPIC: post.html]
#49

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

What do you need in terms of a demo?  I think it would need to be setup in Google Play to truly test it.  Here's the code from Main.lua.  Again, if applicationOpen doesn't fire then firebaseInvites.getInvite()  causes the app to shut down. With or without a delay.

 

All devices are connected to the internet. They open the link to the Play Store and perform other http operations fine.

 

  ------------------------------------

-- FIREBASE INVITES
------------------------------------
firebaseInvites = require ( "plugin.firebaseInvites" )
firebaseInvites.init()
local function getInvite()
firebaseInvites.getInvite(function ( ev )
if(ev) then
print( ev.inviteId )
glo.invitationId = ev.inviteId
end
end)
end
------------------------------------
-- SYSTEM EVENTS LISTENER
------------------------------------
local function onSystemEvent( event )
glo.DeepPrint( event )
if(event.type == "applicationOpen") then
print("****** OPEN *******")
getInvite()
end
local url = glo.baseUrl .. "UserApplicationStatus/updateStatus?userEmail="
if(event.type == "applicationStart") then
network.request(url .. glo.userEmail .. "&isRunning=true", "GET", nil )
end
if(event.type == "applicationExit") then
network.request(url .. glo.userEmail .. "&isRunning=false", "GET", nil )
end
end
 
Runtime:addEventListener( "system", onSystemEvent )
 


-----------------------------
-- SHARING
-----------------------------
function loadShareScreen(shareWith)
if (shareWith == "Contacts") then
firebaseInvites.show("Custom Message", "Custom Title", "https://balloonknotgames.com/AppInvite", nil, nil, function ( ev )
if (ev.isError == true) then
if (ev.error ~= "Canceled by User") then
native.showAlert("Invites error", json.encode(ev), {"Ok"})
end
else
local ids = ""
for key, value in pairs(ev.invitationIds) do
ids = ids .. "," .. value
end
RecordInvitations(ids)
end
end)
end
if (shareWith == "Facebook") then
facebook.login( facebookListener )
end
end





[TOPIC: post.html]
#50

balloonknot

[GLOBAL: userInfoPane.html]
balloonknot
  • Contributor

  • 100 posts
  • Corona SDK

Long Link

 

https://play.google.com/store/apps/details?id=com.balloonknotgames.fartcommander&pcampaignid=appinvite_&referrer=deep_link_id%3Dhttps://balloonknotgames.com/AppInvite%26invitation_id%3D377426389920-0f249dea-bef6-4692-ac0f-687abe3b7fac

 

 useGoogleServicesJson = true, 
        intentFilters = {
{
actions = { "android.intent.action.VIEW" },
categories ={
"android.intent.category.DEFAULT",
"android.intent.category.BROWSABLE",
},
data = {scheme = "https", host = "balloonknotgames.com" },
},
},
        



[topic_controls]
Page 2 of 3 1 2 3
 
[/topic_controls]