react-native-navigation icon indicating copy to clipboard operation
react-native-navigation copied to clipboard

transparent backgroundColor issue in iOS

Open creative-git opened this issue 8 years ago • 2 comments

Issue Description

i want to show a loader on top of splash screen so i set backgroundColor: 'transparent to the root single screen app and it works fine in android. However,backgroundColor: 'transparent has no effect in iOS.

it works fine in android but no matter what i do, i cannot make the screens transparent in iOS and the default is always white background.

Steps to Reproduce / Code Snippets / Screenshots

start single screen app results in white background in iOS

	Navigation.setRoot({
		root: {
			component: {
				name: 'update',
				options: {
					topBar: {
						visible: false,
					},
					layout: {
						backgroundColor: 'transparent'
					  },
				},
			}
		}
	});

Android working (the green screen and logo are the splash screen): android

iOS showing white background ios

ANY ADVICE?

Environment

  • React Native Navigation version: 2.1.3
  • React Native version: 0.57.5
  • Platform(s) (iOS, Android, or both?): iOS
  • Device info (Simulator/Device? OS version? Debug/Release?): Simulator + Device

creative-git avatar Nov 24 '18 20:11 creative-git

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back. Thank you for your contributions.

stale[bot] avatar Dec 24 '18 22:12 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Jan 01 '19 10:01 stale[bot]