hippogamesunity / SimpleAndroidNotificationsPublic

This is public repository for Simple Android Notifications plugin for Unity
6 stars 0 forks source link

App does not load fully after notification #58

Closed yarkowskii closed 5 years ago

yarkowskii commented 5 years ago

Hi, hippogamesunity!! I have a situation. So 2-3 first times when i received a notification everything is good(app starts) next time when i received a notification i try to open my app and after Unity logo nothing happens just clear Unity logo's background and no errors in Console(i used Development build for my app). I have found out that the problem in these notifications, but i do not know where exactly. When app closing i doing next: 1) Cancel all exists notifications 2) Send in specific time Screenshot from 2019-03-25 19-13-42

hippogamesunity commented 5 years ago

Hi! You are talking about Start issue but the code is executed on app Quit? Did you check ADB logs?

yarkowskii commented 5 years ago

I have checked ADB logs and there was nothing that could help me

yarkowskii commented 5 years ago

Can this problem affected by count of notifications which i called? Or because i cancelled all notifications and then again call them every time ?

yarkowskii commented 5 years ago

By the way in your DemoScene everything works fine. App opens every time

hippogamesunity commented 5 years ago

It may be call loop for example. You should make more research. No, there is no limit on notifications, except phone's storage.

yarkowskii commented 5 years ago

Is it right calling? Screenshot from 2019-03-25 22-10-30

And SendDailyNotif function: Screenshot from 2019-03-25 22-12-29

yarkowskii commented 5 years ago

I tried to send 2-3 notifications when i quit the game and without canceling all ones when i opened the game. So i quit the game set my phone's system time to right time when i should receive notification then i open the game. After 6 repeats of this game does not load fully. Something that i've done is wrong?

hippogamesunity commented 5 years ago

Well, please create and upload a demo project where I could reproduce the issue. The screenshots I see can't make the situation clear for me.

On Wed, Mar 27, 2019, 11:15 yrik9 notifications@github.com wrote:

I tried to send 2-3 notifications when i quit the game and without canceling all ones when i opened the game. So i quit the game set my phone's system time to right time when i should receive notification then i open the game. After 6 repeats of this game does not load fully. Something that i've done is wrong?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/hippogamesunity/SimpleAndroidNotificationsPublic/issues/58#issuecomment-477029778, or mute the thread https://github.com/notifications/unsubscribe-auth/AG-qnIM74634BQqdN7asw9fuS8pMQm0rks5vayilgaJpZM4cHbUy .

yarkowskii commented 5 years ago

I've found a problem. It wasn't a problem with notifications. Your notifications are perfect. Sorry:)

hippogamesunity commented 5 years ago

I've also updated Troubleshooting page, so you can refer to it: https://github.com/hippogamesunity/SimpleAndroidNotificationsPublic/wiki/Troubleshooting