This is not a regression as it can be reproduced with titanium sdk 3.4.1
When an android pushnotification app is run with live view, errors indicating that cloudpush module information cannot be found are thrown on the console when the app tries to re-launch with the changes made.However, when the app is run again on the device, it installs and launches successfully with the new changes made.
Steps to reproduce:
1. Run the attached app.js (include cloudpush module in tiapp.xml)with Liveview enabled on to a device
2. Make changes in app.js eg: remove one of the commented lines on line 49 or 54 and save
3. Run the app again by clicking 'Run As' and select the device again
Actual results:
1. App is launched on device with a button "Register for push notification" o`n the center.
2. the following error is produced in the console and device displays the splashscreen
[ERROR] : Error: APSCloudPush has not been enabled. Call APSCloud.enable(context, key) to enable.
[ERROR] : File: app.js
[ERROR] : Line: undefined
[ERROR] : SourceId: undefined
[ERROR] : Backtrace:
[ERROR] : undefined
[ERROR] : TiHttpClient: (TiHttpClient-7) [5,125] HTTP Error (org.apache.http.client.HttpResponseException): Not Found
[ERROR] : TiHttpClient: org.apache.http.client.HttpResponseException: Not Found
[ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:275)
[ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$LocalResponseHandler.handleResponse(TiHTTPClient.java:219)
[ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:669)
[ERROR] : TiHttpClient: at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:649)
[ERROR] : TiHttpClient: at ti.modules.titanium.network.TiHTTPClient$ClientRunnable.run(TiHTTPClient.java:1334)
[ERROR] : TiHttpClient: at java.lang.Thread.run(Thread.java:841)
3. The app launches successfully.
Expected Results:
2. The app should be re-launched with the new changes.
This is similar to something you are already working.
iOS shows the same error