Coder Social home page Coder Social logo

Firebase Problem about doobooiap HOT 2 CLOSED

hyochan avatar hyochan commented on May 18, 2024
Firebase Problem

from doobooiap.

Comments (2)

leelandclay avatar leelandclay commented on May 18, 2024

I haven't gone through all of the code to see if there will be other issues, but if you go to /src/components/navigation/RootStackNavigator.tsx and delete the useEffect function as well as change the return function to look like this:

return (
    <NavigationContainer>
      <Stack.Navigator
        initialRouteName="Main"
        screenOptions={{
          headerStyle: {
            backgroundColor: theme.background,
          },
          headerTitleStyle: { color: theme.font },
          headerTitle: '',
          headerBackTitle: '',
        }}
      >
        <Stack.Screen name="Main" component={Main} />
        <Stack.Screen name="WebView" component={WebView} />
      </Stack.Navigator>
    </NavigationContainer>
  );

that will change the navigation to go directly to the Main component so you can focus on just the RNIap component.

Like I said, I didn't go through all of the code...and I didn't run this locally (not on my dev system), so you may get other errors...but it should be easy to figure out what's missing and either fake it or remove the requirement.

from doobooiap.

hyochan avatar hyochan commented on May 18, 2024

@victorfob Thanks for the issue and the interests although this is still under development. Firebase credentials should not be exposed and hence those can be easily generated by creating your free project.

Read how to add firebase project and add find below keys and replace it in .env followed by .env.sample we've provided. They are very simple!

var firebaseConfig = {
  apiKey: "api-key",
  authDomain: "project-id.firebaseapp.com",
  databaseURL: "https://project-id.firebaseio.com",
  projectId: "project-id",
  storageBucket: "project-id.appspot.com",
  messagingSenderId: "sender-id",
  appID: "app-id",
};

from doobooiap.

Related Issues (4)

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.