Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

White/Blank Screen after code push installed #721

@JakeRawr

Description

@JakeRawr

Thanks so much for filing an issue or feature request! Please fill out the following (wherever relevant):

  • react-native-code-push version: 1.16.1-beta
  • react-native version: 0.40.0
  • iOS/Android/Windows version: Android all version
  • Does this reproduce on a debug build or release build? Both
  • Does this reproduce on a simulator, or only on a physical device? Both
  • Repro steps and/or stack trace:

my launch_screen.xml in layout looks like this

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:orientation="vertical"
    android:layout_height="match_parent">

    <ImageView
        android:layout_width="match_parent"
        android:scaleType="centerCrop"
        android:layout_height="match_parent"
        android:src="@drawable/screen"
        android:layout_gravity="center"
        />
</LinearLayout>

When the app launches without code push update, the splash/launch screen shows up fine.

Problem:

When there's an code push update, seems like there's split second that splash screen is not shown while Android is relaunching the new javascript bundle from code push. When the splash screen is not shown, it's just a pure white screen.

Ideally, while the code push updated, the splash screen is shown until after code push is done launching the new javascript bundle.

(The more info the faster we will be able to address it!)

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions