Titanium

[MOD-2466] Android: Fix cloudpush compatibility with APSAnalytics refactor

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2018-10-26T18:26:44.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsCloudPush
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2018-10-25T22:57:49.000+0000
Updated2018-10-26T23:24:00.000+0000

Description

- Update cloudpush compatibility with recent APSAnalytics refactor
[ERROR] :  [Nexus 6P] TiExceptionHandler: (main) [1027,1027]
[ERROR] :  [Nexus 6P] TiExceptionHandler:     com.appcelerator.aps.CloudpushModuleImplementation$10.getMobileId(CloudpushModuleImplementation.java:251)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     com.appcelerator.aps.CCPushService.injectAnalytics(CCPushService.java:124)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     com.appcelerator.aps.CCPushService.getGCMSenderId(CCPushService.java:155)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     com.appcelerator.aps.CCPushService.access$000(CCPushService.java:35)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     com.appcelerator.aps.CCPushService$1.doInBackground(CCPushService.java:97)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     com.appcelerator.aps.CCPushService$1.doInBackground(CCPushService.java:89)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     android.os.AsyncTask$2.call(AsyncTask.java:333)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     java.util.concurrent.FutureTask.run(FutureTask.java:266)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:245)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
[ERROR] :  [Nexus 6P] TiExceptionHandler:     java.lang.Thread.run(Thread.java:764)

Comments

  1. Gary Mathews 2018-10-25 cloudpush: https://github.com/appcelerator-modules/cloudpush/pull/45 aps_sdk: https://github.com/appcelerator/aps_sdk/pull/325
  2. Lokesh Choudhary 2018-10-26 FR Passed. PR Merged.
  3. Lokesh Choudhary 2018-10-26 Verified the fix with cloudpush 5.2.0.

JSON Source