Skip to content

Android statusbar not translucent after deep link #16582

@umaulana

Description

@umaulana

Is this a bug report?

yes

Have you read the Contributing Guidelines?

no

Environment

Steps to Reproduce

  1. Create new react native app
  2. Make statusbar translucent
      <View style={styles.container}>
        <StatusBar
          translucent
          backgroundColor='transparent'
        />
  1. Add deep link to androidManifest.xml
        <intent-filter>
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />
            <data android:scheme="testapp" android:host="testapp" />
        </intent-filter>
  1. Make on press handler to handle deep linking
        <Text onPress={() => Linking.openURL('testapp://testapp')} style={styles.welcome}>
          Welcome to React Native!
        </Text>
  1. Press that text

Expected Behavior

Android statusbar will stay translucent

Actual Behavior

Android statusbar not translucent anymore

statusbar translucent
screenshot_2017-10-28-23-00-05-029_com testapp

statubar not translucent
screenshot_2017-10-28-23-00-11-595_com testapp

Reproducible Demo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Author Provided ReproThis issue can be reproduced in Snack or an attached project.Resolution: LockedThis issue was locked by the bot.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions