Hi,

I'm using PW with Appcelerator Titanium for the first time and I'm using the standard code in the sample:

The notification arrives and is displayed in the notification center but if I tap on it the app opens and remains on the splash screen.

I'm using 3.5.0.GA with the latest version of the module.

The code is:

var pushnotifications = require('com.pushwoosh.module');
Ti.API.info("module is => " + pushnotifications);
pushnotifications.pushNotificationsRegister({
    "pw_appid": "XXXXXXXXX",
     success:function(e)
{
 Ti.API.info('JS registration success event: ' + e.registrationId);
},
error:function(e)
 {
  Ti.API.error("Error during registration: "+e.error);
},
callback:function(e) // called when a push notification is received
{
  Ti.API.info('JS message event: ' + JSON.stringify(e.data)); 
}
});

Thanks for support

asked 12 Jun '15, 19:16
maxdangelo's gravatar image

maxdangelo
112

Hello,

Could you please duplicate that question, obtain the log from your device, particularly the part where the application is opened and send it to https://www.pushwoosh.com/contact-us/?

permanent link
answered 15 Jun '15, 08:12
Vitaly%20Romanychev's gravatar image

Vitaly Roman...
2213

+1 I'm using 4.0.0.GA

Same problem: "The notification arrives and is displayed in the notification center but if I tap on it the app opens and remains on the splash screen."

permanent link
answered 10 Jul '15, 20:34
Thiago%20Delmotte's gravatar image

Thiago Delmotte
111

My log:

Jul 10 16:52:52 iPhone-de-Thiago-Delmotte kernel[0] <notice>: xpcproxy[2222] Container: /private/var/mobile/Containers/Data/Application/BFD77802-A2D2-473B-8573-225D528DBAF6 (sandbox) Jul 10 16:52:52 iPhone-de-Thiago-Delmotte locationd[61] <notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0 Jul 10 16:52:52 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: Pushwoosh: Initializing application runtime Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementPerform message: attempt to write a readonly database sql: BEGIN IMMEDIATE; Jul 10 16:52:52 iPhone-de-Thiago-Delmotte EUxperimento[2222] <error>: assertion failed: 12H143: libxpc.dylib + 71768 [C9F3C08A-8A3B-3849-A905-D24911240853]: 0x7d Jul 10 16:52:52 iPhone-de-Thiago-Delmotte Unknown[2222] <error>: Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementReset message: attempt to write a readonly database sql: BEGIN IMMEDIATE; Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementPerform message: attempt to write a readonly database sql: INSERT INTO outgoing_message (guid, alternate_guid, account_guid, from_identifier, message_data, data, protobuf_data, destinations, data_to_encrypt, encrypt_payload, compress_payload, use_top_level_dict, wants_response, expiration_date, command, wants_delivery_status, delivery_status_context, message_uuid, priority, date, is_sent, identifier, forced_local, peer_response_identifier, expects_peer_response, wants_app_ack, non_waking, fire_and_forget, stored_size, duet_identifiers, bypass_duet, queue_one_identifier, enforce_remote_timeout) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementReset message: attempt to write a readonly database sql: INSERT INTO outgoing_message (guid, alternate_guid, account_guid, from_identifier, message_data, data, protobuf_data, destinations, data_to_encrypt, encrypt_payload, compress_payload, use_top_level_dict, wants_response, expiration_date, command, wants_delivery_status, delivery_status_context, message_uuid, priority, date, is_sent, identifier, forced_local, peer_response_identifier, expects_peer_response, wants_app_ack, non_waking, fire_and_forget, stored_size, duet_identifiers, bypass_duet, queue_one_identifier, enforce_remote_timeout) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?); Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementPerform message: attempt to write a readonly database sql: INSERT OR REPLACE INTO _SqliteDatabaseProperties VALUES (?, ?); Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementReset message: attempt to write a readonly database sql: INSERT OR REPLACE INTO _SqliteDatabaseProperties VALUES (?, ?); Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementPerform message: attempt to write a readonly database sql: BEGIN IMMEDIATE; Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementReset message: attempt to write a readonly database sql: BEGIN IMMEDIATE; Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementPerform message: attempt to write a readonly database sql: INSERT OR REPLACE INTO _SqliteDatabaseProperties VALUES (?, ?); Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementReset message: attempt to write a readonly database sql: INSERT OR REPLACE INTO _SqliteDatabaseProperties VALUES (?, ?); Jul 10 16:52:52 iPhone-de-Thiago-Delmotte identityservicesd[47] <warning>: [Warning] SQLite error in function: CSDBSqliteStatementReset message: attempt to write a readonly database sql: SELECT ROWID, guid, alternate_guid, account_guid, from_identifier, message_data, data, protobuf_data, destinations, data_to_encrypt, encrypt_payload, compress_payload, use_top_level_dict, wants_response, expiration_date, command, wants_delivery_status, delivery_status_context, message_uuid, priority, date, is_sent, identifier, forced_local, peer_response_identifier, expects_peer_response, wants_app_ack, non_waking, fire_and_forget, stored_size, duet_identifiers, bypass_duet, queue_one_identifier, enforce_remote_timeout FROM outgoing_message WHERE guid = ? ORDER BY ROWID ASC; Jul 10 16:52:52 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: You've implemented -[<uiapplicationdelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist. Jul 10 16:52:52 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: Will show push notifications alert Jul 10 16:52:52 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: [INFO] [object ComPushwooshModuleModule] loaded Jul 10 16:52:52 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: [INFO] [object CountLyModule] loaded Jul 10 16:52:53 iPhone-de-Thiago-Delmotte locationd[61] <notice>: ERROR: br.com.euxperimento is depending on legacy on-demand authorization, which is not supported for new apps Jul 10 16:52:53 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: Sending request: {"request":{"hash":"m","application":"0C24D-4B02B","v":"2.5","hwid":"3B6F076D-F242-4ACF-A31A-8253F4EF12D9"}} Jul 10 16:52:53 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: To urL https://cp.pushwoosh.com/json/1.3/pushStat Jul 10 16:52:53 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: Sending request: {"request":{"badge":0,"application":"0C24D-4B02B","v":"2.5","hwid":"3B6F076D-F242-4ACF-A31A-8253F4EF12D9"}} Jul 10 16:52:53 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: To urL https://cp.pushwoosh.com/json/1.3/setBadge Jul 10 16:52:54 iPhone-de-Thiago-Delmotte discoveryd[56] <notice>: Basic Sockets SetDelegatePID() failed for PID[1821] errno[3] result[-1] Jul 10 16:52:54 iPhone-de-Thiago-Delmotte kernel[0] <notice>: IOReturn IOAsynchronousScheduler::checkAndQueueArgument(IOAsynchronousScheduler::ArgumentEntry *): max argument count (128) reached. Notify a few first. Jul 10 16:52:54 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: Response "200 no error": string: {"status_code":200,"status_message":"OK","response":null} Jul 10 16:52:54 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: sendStats completed Jul 10 16:52:54 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: Response "200 no error": string: {"status_code":200,"status_message":"OK","response":null} Jul 10 16:52:54 iPhone-de-Thiago-Delmotte EUxperimento[2222] <warning>: setBadges completed

permanent link
answered 10 Jul '15, 20:40
Thiago%20Delmotte's gravatar image

Thiago Delmotte
111

Hy, More log:

Jul 10 17:25:28 iPhone-de-Thiago-Delmotte kernel[0] <notice>: xpcproxy[2295] Container: /private/var/mobile/Containers/Data/Application/92360201-9CEE-4A3D-9BD8-43DD6C1417B0 (sandbox) Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: Pushwoosh: Initializing application runtime Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <error>: assertion failed: 12H143: libxpc.dylib + 71768 [C9F3C08A-8A3B-3849-A905-D24911240853]: 0x7d Jul 10 17:25:28 iPhone-de-Thiago-Delmotte Unknown[2295] <error>: Jul 10 17:25:28 iPhone-de-Thiago-Delmotte locationd[61] <notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0 Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: Will show push notifications alert Jul 10 17:25:28 iPhone-de-Thiago-Delmotte locationd[61] <notice>: ERROR: br.com.euxperimento is depending on legacy on-demand authorization, which is not supported for new apps Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: [INFO] [object ComPushwooshModuleModule] loaded Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: location services authorization status has not been determined yet Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: [INFO] [object CountLyModule] loaded Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: Sending request: {"request":{"hash":"D","application":"0C24D-4B02B","v":"2.5","hwid":"3B6F076D-F242-4ACF-A31A-8253F4EF12D9"}} Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: To urL https://cp.pushwoosh.com/json/1.3/pushStat Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: Sending request: {"request":{"application":"0C24D-4B02B","v":"2.5","hwid":"3B6F076D-F242-4ACF-A31A-8253F4EF12D9"}} Jul 10 17:25:28 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: To urL https://cp.pushwoosh.com/json/1.3/applicationOpen Jul 10 17:25:29 iPhone-de-Thiago-Delmotte locationd[61] <notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0 Jul 10 17:25:29 iPhone-de-Thiago-Delmotte backboardd[57] <warning>: CoreAnimation: updates deferred for too long Jul 10 17:25:29 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: Response "200 no error": string: {"status_code":200,"status_message":"OK","response":null} Jul 10 17:25:29 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: sendStats completed Jul 10 17:25:29 iPhone-de-Thiago-Delmotte backboardd[57] <warning>: CoreAnimation: timed out fence 44657 Jul 10 17:25:30 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: Response "200 no error": string: {"status_code":200,"status_message":"OK","response":null} Jul 10 17:25:30 iPhone-de-Thiago-Delmotte EUxperimento[2295] <warning>: sending appOpen completed Jul 10 17:25:50 iPhone-de-Thiago-Delmotte discoveryd[56] <notice>: Basic Sockets SetDelegatePID() failed for PID[1821] errno[3] result[-1]

permanent link
answered 10 Jul '15, 21:11
Thiago%20Delmotte's gravatar image

Thiago Delmotte
111

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×446
×353
×30

question asked: 12 Jun '15, 19:16

question was seen: 1,619 times

last updated: 10 Jul '15, 21:11