Skip to content

Instantly share code, notes, and snippets.

@NicolasBonduel
Created March 6, 2018 22:29
Show Gist options
  • Save NicolasBonduel/138339fe1eb3d8cc986e5d8dcabb290e to your computer and use it in GitHub Desktop.
Save NicolasBonduel/138339fe1eb3d8cc986e5d8dcabb290e to your computer and use it in GitHub Desktop.
--- RCCViewController.m
+++ RCCViewControllerPatch.m
@@ -235,8 +235,6 @@
- (void)sendGlobalScreenEvent:(NSString *)eventName endTimestampString:(NSString *)endTimestampStr shouldReset:(BOOL)shouldReset {
- if (!self.commandType) return;
-
if ([self.view isKindOfClass:[RCTRootView class]]){
NSString *screenName = [((RCTRootView*)self.view) moduleName];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment