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

IOS - Black screen - Unbalanced calls to begin/end appearance transitions for RNNSplashScreen

Open caciobanita opened this issue 5 years ago • 4 comments

🐛 Bug Report

Application wont run on iOS, black screen after storyboard is loaded and i get this error:

021-02-25 10:10:28.680322+0200 TestApp[679:203188] Unbalanced calls to begin/end appearance transitions for <RNNSplashScreen: 0x105310350>.

(A clear and concise description of what the bug is)

Have you read the Contributing Guidelines on issues?

(Write your answer here.) YES

To Reproduce

(Write your steps here:)

react-native run-ios

Expected behavior

The application should register my first screen and then be visible.

(Write what you thought would happen.)

Actual Behavior

Black screen.

(Write what happened. Add screenshots, if applicable.)

Your Environment

  • React Native Navigation version: 7.11.0
  • React Native version: 0.63.4
  • Platform(s) (iOS, Android, or both?): IOS
  • Device info (Simulator/Device? OS version? Debug/Release?): Simulator 12.7 / Device - 13.4

Reproducible Demo

(Paste the link to an example repo and exact instructions to reproduce the issue.)

caciobanita avatar Feb 25 '21 08:02 caciobanita

Hi @caciobanita, I ran into the same situation today. After some debugging I found out that I was missing

- (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge {
  return [ReactNativeNavigation extraModulesForBridge:bridge];
}

after an update in the AppDelegate.m.

francbelak avatar Mar 04 '21 16:03 francbelak

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 version and report back. Thank you for your contributions.

stale[bot] avatar Apr 03 '21 17:04 stale[bot]

The issue has been closed for inactivity.

stale[bot] avatar Apr 10 '21 18:04 stale[bot]

Hi @caciobanita, I ran into the same situation today. After some debugging I found out that I was missing

- (NSArray<id<RCTBridgeModule>> *)extraModulesForBridge:(RCTBridge *)bridge {
  return [ReactNativeNavigation extraModulesForBridge:bridge];
}

after an update in the AppDelegate.m.

This helped me today. thanks a lot!

pdpd123 avatar May 28 '21 06:05 pdpd123