Code Monkey home page Code Monkey logo

Comments (8)

zoontek avatar zoontek commented on July 23, 2024

@jonyuen Please publish your AppDelete.mcontent

from react-native-bootsplash.

jonyuen avatar jonyuen commented on July 23, 2024

Here is the relevant AppDelegate.m content, I have #import "RNBootSplash.h" in my imports, as well as #import <React/RCTRootView.h>, #import <React/RCTBundleURLProvider.h>, and #import <React/RCTBridge.h>

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  
  // Initialize Firebase
  [FIRApp configure];
  
  // Initialize Google Maps Services
  [GMSServices provideAPIKey:@"AIzaSyAzYlTG_6MSmVyO4AXCiMSgzBkANBiPBuY"];
  
  // Initialize Intercom
  [Intercom setApiKey:@"ios_sdk-23215162839ed0c683167001b9c1d273ec7f5d9d" forAppId:@"ouqdzz74"];

  // Initialize Appcenter
  [AppCenterReactNative register];
  
  // Initialize AppcenterCrashes
  [AppCenterReactNativeCrashes registerWithAutomaticProcessing];
  
  RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
  
  [ReactNativeNavigation bootstrap:[self sourceURLForBridge: bridge] launchOptions:launchOptions];
  
  [RNBootSplash show:@"LaunchScreen"];
  
  return YES;
}

I am using wix navigation - but not sure if the error is related

from react-native-bootsplash.

zoontek avatar zoontek commented on July 23, 2024

@jonyuen The block call is wrong: it should be [RNBootSplash show:@"LaunchScreen" inView:rootView];. [RNBootSplash show:@"LaunchScreen"]; does not exists

from react-native-bootsplash.

jonyuen avatar jonyuen commented on July 23, 2024

Hi thanks for the reply!

I initially did that and the error was `No known class method for selector 'inView:'

I changed it to what i posted since I thought that change was needed for wix navigation, but both don't work.

from react-native-bootsplash.

zoontek avatar zoontek commented on July 23, 2024

@jonyuen Other seems to encounter issues with react-native-navigation: #13 I guess the non-standard way to setup it mess with other libs

from react-native-bootsplash.

zoontek avatar zoontek commented on July 23, 2024

I'm closing this in favor of #13

from react-native-bootsplash.

MamtaDeswal-BB avatar MamtaDeswal-BB commented on July 23, 2024

I'm also facing same issue, i tried both option:- [RNBootSplash show:@"LaunchScreen" inView:rootView];
[RNBootSplash show:@"LaunchScreen"]

But nothing work for me. React native version 0.60.4 and bootsplash version 2.0.0.

from react-native-bootsplash.

kingCorp avatar kingCorp commented on July 23, 2024

try replacing with this
[RNBootSplash initWithStoryboard:@"BootSplash" rootView:rootView]; // <- initialization using the storyboard file name

works for me

https://github.com/zoontek/react-native-bootsplash
for reference

from react-native-bootsplash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.