Closed maxiannunziata closed 8 years ago
ok, i found the error. `// prep the bundle
$data = array('alert' => 'Hello World!',
'sound' => 'default',
'notificationId' => '1',
'body' => 'Hello World!',
'title' => 'Hello World!',
'ticker' => 'Hello World!',
'smallIcon' => 'defa',
'category' => 'defa',
The device registration process works perfectly. I can receive push notifications without a problem. But when i click (or tap) the notification on my phone the app crash.
Any idea? :/
I have no idea just with this info. Maybe with some console info and error messages.
The module is now free and open source.
The module is now free and open source.
Thanks for this!
Ok, I could solve the problem, I leave details to help another person
From Android Device Monitor console:
07-18 11:40:48.761: E/TiLaunchActivity(3134): (main) [14653,15066] Android issue 2373 detected (missing intent CATEGORY_LAUNCHER or FLAG_ACTIVITY_RESET_TASK_IF_NEEDED), restarting app
I added this in tiapp.xml:
<property name="ti.android.bug2373.finishfalseroot" type="bool">true</property>
and gone!
Thanks!
Hi buddy,
When i send a push notification from my server, the app crash when is in background (Android).
android:targetSdkVersion="23"
PushClient : 1.14
Ti Console
PHP
Any idea?