Closed ukcasso closed 3 months ago
This doesn't solve a thing.
On OneUI v4 (Android 12), logo is half sized, Samsung's fault. Also, the splash screen doesn't appear when started from an intent (like Android studio, adb, or even a push notification), Google's fault.
By doing your change, you have a blink with half-sized logo (system thread), then full-fized logo (app thread), you just didn't see the first one it because you probably started the app with an intent and only testing a developent build, skipping the system thread part.
My Android phone specs are
model name: Galaxy Note10 5G
model number: SM-N971N
One UI version: 4.1
android version: 12
With that change, everything returned to normal. The same experience was provided with the same image file as One UI 6. I haven't experienced the problem you mentioned.
I'll test it a little more. thanks. @zoontek
With that change, everything returned to normal.
No. Try to build a release app with your "fix", then start it from the app launcher, you will see.
Summary
Solved the issue of small splash screen in oneui4. With this code, the image size is displayed the same as the same image file in One UI 4, 5, 6 and later versions.
Test Plan
To test this, install the library and run it on a device with One UI 4. This will verify that the issue has been resolved.
What's required for testing (prerequisites)?
Samsung one ui above 4 real phone.
What are the steps to test it (after prerequisites)?
Install libraray and run it.
Compatibility
Checklist
README.md
example/App.tsx
)