pusher / push-notifications-flutter

Official Pusher Beams Flutter client plugin (iOS, Android and Web), receive notifications easily on your Flutter application with Pusher Beams.
https://pub.dev/packages/pusher_beams
MIT License
10 stars 21 forks source link

Splash screen behaviour in Android #29

Open Arunachalam-G opened 2 years ago

Arunachalam-G commented 2 years ago

When I open my app (which is in killed state) via push notification, I'm getting the below splash screen for few seconds. After that my actual splash screen is visible. This splash screen is coming after i integrated pusher beam in my flutter app. How to remove this white splash screen with app title on top ?

splash
Arunachalam-G commented 1 year ago

Hi team, Is there any update on this issue ?

fbenevides commented 1 year ago

Hi @Arunachalam-G, can you elaborate a bit more on how to reproduce this problem on the client SDK? Happy to help! Some steps to reproduce it would be amazing.

Arunachalam-G commented 1 year ago

Hi @fbenevides, Thanks for the response. Please follow the below steps to reproduce.

  1. Complete pusher beam setup in a flutter project
  2. Run the app in any Android device. After the app is installed in the device, close that app from recent applications.
  3. Now trigger a push notification to that device from terminal or server
  4. In the device, we might received that push notification. If we click it, the application will open. In this case, I'm seeing this white splash screen before my actual splash screen

NOTE: In Android version 12 device, I'm seeing this similar splash screen but with my app icon in centre. In other version of android devices, this white screen appears.

UPDATE: In Android version 9 device, it is occurred. In Android 11 and 12 version devices, it is not occurred

Arunachalam-G commented 1 year ago

Hi @fbenevides , Can you able to reproduce the issue from given steps ?

benjamin-tang-pusher commented 1 year ago

I can reproduce this, and I've escalated this internally. Whats strange is that I can reproduce this on my physical Android 11 but you can't, and this doesn't happen in the simulator, which makes this harder to figure out.

Arunachalam-G commented 1 year ago

One thing I found is that, app title on the top of the whit screen is taking the value from android label key in the manifest file. Hope we will get this behaviour fixed soon.

benw-pusher commented 3 months ago

Is this issue still occurring? We haven't been able to identify a cause for this at this time