Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo Plugins Support › onesignal ios10

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #15157

    Bas

    hi, i experience strange behavior with onesignal plugin.

    for ios 10 the pushnotification was not received anymore.

    what could be the cause?

    #15197

    Alex
    Felgo Team

    Hi Bas,

    Did you have a look if the push notification switch is turned on in Xcode (build target, capabilities) before testing the notifications?

    screen-shot-2016-11-02-at-17-26-19

    Best,

    Alex

    #15200

    Bas

    hi Alex,

    i am sorry i forgot to post that i had fixed it, exactly what you mentioned

    But I have experienced something else on Android app with plugins: onesignal and google analytics included.

    when i start the app and then close the app.

    and then start the app, it takes a long time (splash screen starts (wich i am using) but never completely starts the app) and then the app does’nt respond

    i am testing on a samsung S4 device with android 5.0.1

     

    #15205

    Lorenz

    Hi Bas,

    Can you post a simple code example that allows us to reproduce the issue?
    Best,

    Lorenz

    #15208

    Bas

    i could send the complete project?

    #15213

    Bas

    i got some output:

     

    V/ActivityThread(32646): updateVisibility : ActivityRecord{be5588b token=android.os.BinderProxy@3977db4a {com.lentfert.gccsybrook/net.vplay.helper.VPlayActivity}} show : false

    I/Process ( 913): Sending signal. PID: 32646 SIG: 3

    I/art (32646): Thread[2,tid=32652,WaitingInMainSignalCatcherLoop,Thread*=0xaf90e400,peer=0x32c190e0,”Signal Catcher”]: reacting to signal 3

    I/art (32646): Wrote stack traces to ‘/data/anr/traces.txt’

    E/ActivityManager( 913): PID: 32646

    E/ActivityManager( 913): 1.4% 32646/com.lentfert.gccsybrook: 0.7% user + 0.6% kernel / faults: 8068 minor 139 major

    #15326

    Alex
    Felgo Team

    Hi Bas,

    Thanks for the additional information. Just wanted to let you know that we are currently looking into the issue. Do you also experience this behavior if Google Analytics is not included in your app?

    Thanks,

    Alex

    #15330

    Bas

    Let me test this for you.

     

    on a Asus Nexus 7 it also crashes the second time I start the app.

    same result as on a Samsung S4.

     

    so I do not include google analytics in the licence file right?

    and I will create a dymmy Item wich acts as google analytics.

    #15333

    Bas

    sorry but it crashes also without google analytics when is startup second time:

     

    D ShortcutBadger: Finding badger

    D ShortcutBadger: Current badger:com.onesignal.shortcutbadger.impl.DefaultBadger

    W InstanceID/Rpc: Found 10008

    I art : Thread[2,tid=4197,WaitingInMainSignalCatcherLoop,Thread*=0xaec0b000,peer=0x32c230a0,”Signal Catcher”]: reacting to signal 3

    I art : Wrote stack traces to ‘/data/anr/traces.txt’

    “com.lentfert.gccsybrook” died.

    #15335

    Bas

    11-26 16:06:08.256 733-733/? D/StatusBar: Clicked on content of 0|com.lentfert.gccsybrook|1720996218|null|10157
    11-26 16:06:08.272 589-1291/? W/InputMethodManagerService: Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@d5de0f4 attribute=null, token = android.os.BinderProxy@adeb286
    11-26 16:06:08.664 28206-28649/? D/NtpClient: request time failed: java.net.SocketException: sendto failed: EPERM (Operation not permitted)
    11-26 16:06:08.743 733-733/? D/PhoneStatusBar: disable: < expand icons* alerts system_info* back home recent clock search quick_settings >
    11-26 16:06:10.764 1291-1291/? W/Binder_5: type=1400 audit(0.0:238): avc: denied { ioctl } for path=”socket:[13960]” dev=”sockfs” ino=13960 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
    11-26 16:06:10.764 1291-1291/? W/Binder_5: type=1400 audit(0.0:239): avc: denied { ioctl } for path=”socket:[13960]” dev=”sockfs” ino=13960 ioctlcmd=7704 scontext=u:r:system_server:s0 tcontext=u:r:system_server:s0 tclass=unix_stream_socket permissive=0
    11-26 16:06:12.156 589-602/? W/ActivityManager: Timeout executing service: ServiceRecord{7ea5894 u0 com.lentfert.gccsybrook/com.onesignal.SyncService}
    11-26 16:06:12.193 589-602/? I/Process: Sending signal. PID: 22071 SIG: 3
    11-26 16:06:12.204 22071-22075/? I/art: Thread[2,tid=22075,WaitingInMainSignalCatcherLoop,Thread*=0xaec16000,peer=0x32c230a0,”Signal Catcher”]: reacting to signal 3
    11-26 16:06:12.393 589-602/? I/Process: Sending signal. PID: 589 SIG: 3
    11-26 16:06:12.394 589-594/? I/art: Thread[2,tid=594,WaitingInMainSignalCatcherLoop,Thread*=0xaec0b000,peer=0x12c010a0,”Signal Catcher”]: reacting to signal 3
    11-26 16:06:12.655 22071-22075/? I/art: Wrote stack traces to ‘/data/anr/traces.txt’
    11-26 16:06:14.065 589-711/? E/WifiHAL: Error polling socket
    11-26 16:06:14.724 589-602/? I/Process: Sending signal. PID: 1734 SIG: 3
    11-26 16:06:14.725 1734-1743/? I/art: Thread[2,tid=1743,WaitingInMainSignalCatcherLoop,Thread*=0xaec0b000,peer=0x12c5e0a0,”Signal Catcher”]: reacting to signal 3
    11-26 16:06:14.728 589-602/? I/Process: Sending signal. PID: 1726 SIG: 3
    11-26 16:06:14.728 1726-1732/? I/art: Thread[2,tid=1732,WaitingInMainSignalCatcherLoop,Thread*=0xaec0e000,peer=0x12c5d0a0,”Signal Catcher”]: reacting to signal 3
    11-26 16:06:14.842 589-602/? I/Process: Sending signal. PID: 1713 SIG: 3
    11-26 16:06:14.843 1713-1718/? I/art: Thread[2,tid=1718,WaitingInMainSignalCatcherLoop,Thread*=0xaec0e000,peer=0x12c5c0a0,”Signal Catcher”]: reacting to signal 3
    11-26 16:06:14.850 1726-1732/? I/art: Wrote stack traces to ‘/data/anr/traces.txt’
    11-26 16:06:14.983 589-602/? I/Process: Sending signal. PID: 733 SIG: 3
    11-26 16:06:14.983 733-745/? I/art: Thread[2,tid=745,WaitingInMainSignalCatcherLoop,Thread*=0xaec0b000,peer=0x32c070a0,”Signal Catcher”]: reacting to signal 3
    11-26 16:06:14.983 1713-1718/? I/art: Wrote stack traces to ‘/data/anr/traces.txt’
    11-26 16:06:15.088 1734-1743/? I/art: Wrote stack traces to ‘/data/anr/traces.txt’
    11-26 16:06:15.141 589-594/? I/art: Wrote stack traces to ‘/data/anr/traces.txt’
    11-26 16:06:15.441 733-745/? I/art: Wrote stack traces to ‘/data/anr/traces.txt’
    11-26 16:06:16.875 589-600/? I/ActivityManager: START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.lentfert.gccsybrook/net.vplay.helper.VPlayActivity (has extras)} from uid 10013 on display 0
    11-26 16:06:17.068 589-602/? I/Process: Sending signal. PID: 1750 SIG: 3
    11-26 16:06:17.068 1750-1753/? I/art: Thread[2,tid=1753,WaitingInMainSignalCatcherLoop,Thread*=0xaec0b000,peer=0x32c070a0,”Signal Catcher”]: reacting to signal 3
    11-26 16:06:17.294 589-602/? E/ActivityManager: ANR in com.lentfert.gccsybrook
    PID: 22071
    Reason: executing service com.lentfert.gccsybrook/com.onesignal.SyncService
    Load: 7.37 / 7.63 / 6.99
    CPU usage from 0ms to 5113ms later:
    54% 589/system_server: 22% user + 32% kernel / faults: 7208 minor 95 major
    0% 191/debuggerd: 0% user + 0% kernel / faults: 5479 minor 55 major
    8.9% 1750/com.android.launcher: 5.4% user + 3.5% kernel / faults: 1239 minor 4 major
    8.4% 733/com.android.systemui: 4.8% user + 3.5% kernel / faults: 1424 minor 1 major
    6.2% 187/surfaceflinger: 3.1% user + 3.1% kernel / faults: 2132 minor
    6% 1734/com.android.phone: 3.3% user + 2.7% kernel / faults: 1603 minor 3 major
    6% 22071/com.lentfert.gccsybrook: 3.7% user + 2.3% kernel / faults: 1516 minor 31 major
    2.3% 1713/com.android.nfc: 1.7% user + 0.5% kernel / faults: 1001 minor 5 major
    0% 1726/com.nuance.xt9.input: 0% user + 0% kernel / faults: 943 minor 2 major
    1.3% 140/mmcqd/0: 0% user + 1.3% kernel
    1.1% 201/mpdecision: 0% user + 1.1% kernel
    0.9% 150/ueventd: 0.5% user + 0.3% kernel
    0.5% 21970/kworker/0:3: 0% user + 0.5% kernel
    0.5% 28594/sensors.qcom: 0% user + 0.5% kernel
    0.3% 88/msmfb_commit_th: 0% user + 0.3% kernel
    0.3% 13965/kworker/u:2: 0% user + 0.3% kernel
    0.3% 15552/kworker/0:1: 0% user + 0.3% kernel
    0% 3/ksoftirqd/0: 0% user + 0% kernel
    0.1% 5/kworker/u:0: 0% user + 0.1% kernel
    0.1% 162/jbd2/mmcblk0p30: 0% user + 0.1% kernel
    0% 184/healthd: 0% user + 0% kernel
    0.1% 200/thermald: 0% user + 0.1% kernel
    0.1% 1599/com.android.noisefield: 0% user + 0.1% kernel
    0.1% 3599/com.teamviewer.host.market: 0% user + 0.1% kernel
    0.1% 25158/kworker/u:3: 0% user + 0.1% kernel
    0.1% 25669/adbd: 0% user + 0.1% kernel / faults: 8 minor
    +0% 28669/migration/1: 0% user + 0% kernel
    +0% 28670/kworker/1:2: 0% user + 0% kernel
    +0% 28671/ksoftirqd/1: 0% user + 0% kernel
    +0% 28672/kworker/1:0: 0% user + 0% kernel
    +0% 28673/kworker/1:1: 0% user + 0% kernel
    +0% 28674/migration/2: 0% user + 0% kernel
    +0% 28675/kworker/2:0: 0% user + 0% kernel
    +0% 28676/ksoftirqd/2: 0% user + 0% kernel
    27% TOTAL: 11% user + 13% kernel + 2.7% iowait
    CPU usage from 4344ms to 4872ms later:
    22% 589/system_server: 9.3% user + 13% kernel / faults: 2502 minor 1 major
    7.5% 608/android.display: 7.5% user + 0% kernel
    5.6% 601/android.bg: 0% user + 5.6% kernel
    5.6% 602/ActivityManager: 0% user + 5.6% kernel
    1.8% 589/system_server: 0% user + 1.8% kernel
    1.8% 600/Binder_2: 0% user + 1.8% kernel
    1.8% 626/system_server: 1.8% user + 0% kernel
    1.8% 633/InputDispatcher: 0% user + 1.8% kernel
    1.8% 683/AudioService: 0% user + 1.8% kernel
    10% 187/surfaceflinger: 4.3% user + 5.7% kernel / faults: 2119 minor
    4.3% 187/surfaceflinger: 2.8% user + 1.4% kernel
    2.8% 465/Binder_3: 0% user + 2.8% kernel
    1.4% 248/DispSync: 1.4% user + 0% kernel
    6.3% 1750/com.android.launcher: 0% user + 6.3% kernel / faults: 33 minor
    3.1% 1942/RenderThread: 0% user + 3.1% kernel
    1.5% 1750/ndroid.launcher: 1.5% user + 0% kernel
    2.9% 201/mpdecision: 0% user + 2.9% kernel
    1.4% 217/mpdecision: 0% user + 1.4% kernel
    1.4% 228/mpdecision: 1.4% user + 0% kernel
    1.3% 88/msmfb_commit_th: 0% user + 1.3% kernel
    1.4% 150/ueventd: 0% user + 1.4% kernel
    1.4% 200/thermald: 0% user + 1.4% kernel
    1.5% 733/com.android.systemui: 1.5% user + 0% kernel
    1.5% 1322/RenderThread: 1.5% user + 0% kernel
    1.6% 13965/kworker/u:2: 0% user + 1.6% kernel
    1.6% 21970/kworker/0:3: 0% user + 1.6% kernel
    +0% 28669/migration/1: 0% user + 0% kernel
    +0% 28670/kworker/1:2: 0% user + 0% kernel
    +0% 28671/ksoftirqd/1: 0% user + 0% kernel
    +0% 28672/kworker/1:0: 0% user + 0% kernel
    +0% 28673/kworker/1:1: 0% user + 0% kernel
    32% TOTAL: 9.6% user + 19% kernel + 3.2% iowait
    11-26 16:06:17.353 1750-1753/? I/art: Wrote stack traces to ‘/data/anr/traces.txt’
    11-26 16:06:17.359 589-3037/? I/ActivityManager: Start proc 28680:com.android.keychain/1000 for broadcast com.android.keychain/.KeyChainBroadcastReceiver
    11-26 16:06:17.383 589-5351/? I/Adreno-EGL: <qeglDrvAPI_eglInitialize:379>: QUALCOMM Build: 10/21/15, 369a2ea, I96aee987eb
    11-26 16:06:17.384 589-5351/? I/OpenGLRenderer: Initialized EGL, version 1.4
    11-26 16:06:17.401 28680-28680/? W/System: ClassLoader referenced unknown path: /system/app/KeyChain/lib/arm
    11-26 16:06:17.406 28680-28680/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.startService:1221 android.content.ContextWrapper.startService:581 android.content.ContextWrapper.startService:581 com.android.keychain.KeyChainBroadcastReceiver.onReceive:12 android.app.ActivityThread.handleReceiver:2725
    11-26 16:06:17.428 1199-1547/? E/NetworkScheduler.SR: Invalid parameter app
    11-26 16:06:17.428 1199-1547/? E/NetworkScheduler.SR: Invalid package name : Perhaps you didn’t include a PendingIntent in the extras?
    11-26 16:06:17.446 1063-1948/? E/Drive.UninstallOperation: Package still installed com.skype.raider
    11-26 16:06:17.477 589-599/? I/ActivityManager: Start proc 28705:com.google.android.apps.docs/u0a42 for broadcast com.google.android.apps.docs/.receivers.AppPackageAddRemoveReceiver
    11-26 16:06:17.813 28705-28726/? I/GAv4: Google Analytics 8.4.87 is starting up. To enable debug logging on a device run:
    adb shell setprop log.tag.GAv4 DEBUG
    adb logcat -s GAv4

    #15346

    Alex
    Felgo Team

    Hi,

    Thanks for the additional info. Can you please send the project files to support@felgo.com, as offered with an earlier reply?

    Thanks,

    Alex

    #15406

    Alex
    Felgo Team

    Hi Bas,

    Just wanted to let you know that we pushed a fix for the Android issue. It should be applied automatically by the Android Gradle build system when building your app again. You can validate the correct download by running “./gradlew dependencies” from the command line within the build-xyz/android-build directory and having a look at the “net.vplay.plugins:plugin-onesignal” line that should state version “2.9.2-1”.

    Please let me know if that fixes the issue!

    Thanks,

    Alex

    #15408

    Bas

    yesss, works as expected, thanx for the fast fix! and great support!

Viewing 13 posts - 1 through 13 (of 13 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded