react-native-firebase-starter | ultimate React Native starter using Firebase Mobx | Authentication library

 by   jsappme JavaScript Version: Current License: MIT

kandi X-RAY | react-native-firebase-starter Summary

kandi X-RAY | react-native-firebase-starter Summary

react-native-firebase-starter is a JavaScript library typically used in Security, Authentication, React Native, Firebase applications. react-native-firebase-starter has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

The ultimate React Native starter using Firebase, Mobx, CodePush, OneSignal made with
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-native-firebase-starter has a low active ecosystem.
              It has 289 star(s) with 57 fork(s). There are 17 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 3 open issues and 11 have been closed. On average issues are closed in 38 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-native-firebase-starter is current.

            kandi-Quality Quality

              react-native-firebase-starter has 0 bugs and 0 code smells.

            kandi-Security Security

              react-native-firebase-starter has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              react-native-firebase-starter code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              react-native-firebase-starter is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              react-native-firebase-starter releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.
              react-native-firebase-starter saves you 224 person hours of effort in developing the same functionality from scratch.
              It has 547 lines of code, 3 functions and 35 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of react-native-firebase-starter
            Get all kandi verified functions for this library.

            react-native-firebase-starter Key Features

            No Key Features are available at this moment for react-native-firebase-starter.

            react-native-firebase-starter Examples and Code Snippets

            No Code Snippets are available at this moment for react-native-firebase-starter.

            Community Discussions

            QUESTION

            Task 'installDebug' not found in project ':app'
            Asked 2020-May-01 at 10:15

            I get error on my react-native app while I am trying to execute following code

            ...

            ANSWER

            Answered 2020-Apr-01 at 07:38

            This happens because there isn't a keystore present. Follow the steps mentioned in https://reactnative.dev/docs/signed-apk-android

            1. You can generate a private signing key using keytool. (instructions vary according to operating system)
            2. Edit the file ~/.gradle/gradle.properties or android/gradle.properties, and add the following (replace ***** with the correct keystore password, alias and key password),

            Source https://stackoverflow.com/questions/58390956

            QUESTION

            No Bundle URL Present
            Asked 2019-Jun-28 at 09:58

            I am running 5.1.0 of react-native-firebase-starter (https://github.com/invertase/react-native-firebase-starter/blob/master/package.json)

            I have triple checked that I have followed the Getting Started instructions (from the readme) exactly. However, when I run the project I get "No Bundle URL Present".

            I have searched for this error elsewhere and seen rm -rf ios/build/; kill $(lsof -t -i:8081); as the answer. I've tried this, and variations, several times but I cannot get the project to run.

            ...

            ANSWER

            Answered 2019-Feb-10 at 00:15

            I fixed it by adding 127.0.0.1 localhost to my /etc/hosts file

            Source https://stackoverflow.com/questions/54609433

            QUESTION

            React Native Firebase starter and React Navigation
            Asked 2019-Jun-16 at 18:55

            I want to use the react native firebase starter template and add react navigation.

            I have got the react-native-firebase-starter project up and running and have linked it to firebase. But now when I follow the steps to add react-navigation I come into problems with react-native link react-native-gesture-handler.

            I guessed because the project uses cocoa pods and this command adds a line to the Podfile, that I should cd ios and run pod install.

            The problem then is that I get an error: [!] React has been deprecated and the project won't build.

            Has anyone successfully used this starter project and added react-navigation to it?

            Please tell me what I'm doing wrong or what to do to get it sorted.

            ...

            ANSWER

            Answered 2019-Jun-16 at 18:55

            I figured this out.

            You need to add these lines into your app target in the Podfile...

            Source https://stackoverflow.com/questions/56621301

            QUESTION

            Unable to push Repo from "react-native-firebase-starter" template
            Asked 2019-Jun-02 at 20:07

            I cloned this repo to start my own project

            https://github.com/invertase/react-native-firebase-starter

            I have made some modifications and got it setup for Firebase, however I cannot push or rename the Repository.

            I ran npm run rename and renamed the directory. GitHub still seems to think I am trying to push the orginal repository as my own. When I try to push I get:

            Authentication failed. You may not have permission to access the repository or the repository may have been archived...

            How can I keep this template/starter and push a copy of it as my own repository?

            I have tried removing all of the inessential files from the Repo and pushing that way. I get the following error:

            I expected to be able to use the starter as a starter to get a project up and running... Maybe I am missing something super obvious.

            ...

            ANSWER

            Answered 2019-Jun-02 at 20:07

            I don't see a .git folder within the root of the react-native-firebase-starter template, perhaps this is causing issues with pushing this template since git needs to know where to point to upstream.

            Maybe you could try initializing the template to your personal git repository and seeing if this resolves your authentication issue:

            1. Create a new repository on GitHub. To avoid errors, do not initialize the new repository with README, license, or gitignore files.
            2. Initialize the local directory containing the template as a Git repository:

              git init

            3. Add the files in your new local repository. This stages them for the first commit:

              git add .

            4. Commit the files that you've staged in your local repository:

              git commit -m "Initial commit"

            5. At the top of your GitHub repository ,created in step 1, copy the remote repository URL.

            6. Add the URL for the remote repository where your local repository will be pushed:

              git remote add origin

            7. Push the changes in your local repository to your upstream repository contained in GitHub:

              git push -u origin master

            You should now be able to push this starter template into your own GitHub repository and use it as your own project.

            As for the npm run rename command: this is a custom npm run script created by the author of this starter template and it simply runs the rename.js file contained within the .bin directory of the template's root directory. All this command does is recursively rename the files contained within this template project to the new name specified by your input, so I don't think this is causing the issue. I suspect once your project has been initialized properly with git the authentication issue will disappear as it will now point upstream to your personal repository.

            Hopefully that helps!

            Source https://stackoverflow.com/questions/56418027

            QUESTION

            React-native Run-ios build failed .error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65
            Asked 2019-Apr-30 at 11:10

            I have seen some similar questions. But none of them solved my problems. react-native-cli: 2.0.1 react-native: 0.59.4 Simulator Version 10.1 (SimulatorApp-877 CoreSimulator-587.35) Xcode Version 10.2 (10E125)

            After upgrading the xcode to 10.2 this problem started The following build commands failed: CompileXIB /Users/rezwanakabita/Desktop/Navigation_Practice/react-native-firebase-starter/ios/RNFirebaseStarter/Base.lproj/LaunchScreen.xib (1 failure)

            I tried all the solutions in StackOverflow Previous questions. But none solved my problem. Any help would be appreciated. thank you.

            ...

            ANSWER

            Answered 2019-Apr-30 at 11:10

            A temporary fix mentioned in react-native github issue is to use Legacy Build System

            File -> Workspace Settings -> Build System -> Legacy Build System

            Source https://stackoverflow.com/questions/55615461

            QUESTION

            How can I debug JS remotely when using React Native Firebase
            Asked 2019-Jan-21 at 17:20

            So I have a React Native app based on react-native-firebase-starter that I'd like to debug using better tools than just console.log output via react-native log-android. Debugger breakpoints, object inspection etc.

            For a standard React Native app, this would be possible using the "Debug JS remotely" option which, as I understand it, runs the app's JS inside desktop Chrome and hence can use it's dev tools.

            This does not seem to work for React Native Firebase however. I presume this is because it uses a lot of native Android/iOS modules along with mobile-only Firebase auth, and thus is only happy running entirely on the device. ...or something like that.

            Am I doing something wrong or is there a way round this? What debugging setup will give me the best DX here?

            ...

            ANSWER

            Answered 2019-Jan-21 at 17:20

            The example project react-native-firebase-starter is natively built (as opposed to being created with Expo) and will therefore work as expected with the debugging tools you have mentioned.

            Make sure when running the app the build variant Debug is selected, as in Release mode Metro Bundler / Packager and the debugging tools are not available.

            If the debugging level via Chrome Dev Tools does not suffice, there are other tools created for React Native with better functionality (such as breakpointing). The most notable ones are:

            • React Native Tools extension for Visual Studio Code. Allows setting breakpoints and iterating through code in the editor.

            • React Native Debugger, which has a similar interface to Chrome Dev Tools and allows breakpoints to be set in the Sources tab.

            Up-to-date installation instructions and configuration are provided in their respective repositories.

            Source https://stackoverflow.com/questions/54281341

            QUESTION

            ReactNative Firebase Firestore Crashes on Android
            Asked 2019-Jan-01 at 04:54

            I'm trying to get react-native-firebase up and querying a firestore database in an android app. But whenever I try to query a collection, the app crashes with a very descriptive:

            Unfortunately, RNFirebaseStarter has stopped.

            This is happening right from the starter project, using the firestore query code right out of the Todo app tutorial. And is happening both in an android simulator and on a device connected through USB.

            There are no errors being reported anywhere that I can find. How would I even begin to debug this?

            Following up, here's a gist of the adb logcat output.

            ...

            ANSWER

            Answered 2017-Nov-03 at 21:08

            Are you still having an issue with this? Could you post logs from adb logcat so we can pinpoint the actual error?

            Thanks

            Source https://stackoverflow.com/questions/47003288

            QUESTION

            Error: reactNativeFirebase2.default.auth is not a function
            Asked 2018-Nov-05 at 14:34

            I have a SignUp.js Component used to sign up users to my app. It is inspired/copied from this tutorial and is based on react-native-firebase starter kit.

            ...

            ANSWER

            Answered 2018-Sep-18 at 19:15

            In your SignUp.test.js

            Include this at the top of your file

            import '@firebase/firestore'

            so it looks like this

            Source https://stackoverflow.com/questions/52392939

            QUESTION

            Pod install no permission
            Asked 2018-Oct-09 at 08:42

            I'm trying to install react native firebase starter kit on a virtual machine running macOS 10.3 on windows 10. I'm totally new to macOS.

            I started with cloning it then following the instructions: cd react-native-firebase-starter npm install cd ios then pod install (already installed cocoapods with sudo gems)

            when i run pod install this error occurs:

            Command

            /usr/local/bin/pod install

            Report
            • What did you do?

            • What did you expect to happen?

            • What happened instead?

            Stack

            CocoaPods : 1.5.3 Ruby : ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17] RubyGems : 2.5.2 Host : Mac OS X 10.13.5 (17F77) Xcode : 9.4 (9F1027a) Git : git version 2.15.1 (Apple Git-101) Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib Repositories :

            Plugins

            cocoapods-deintegrate : 1.0.2 cocoapods-plugins : 1.0.0 cocoapods-search : 1.0.0 cocoapods-stats : 1.0.0 cocoapods-trunk : 1.3.1 cocoapods-try : 1.1.0

            Podfile

            ```ruby

            Uncomment the next line to define a global platform for your project platform :ios, '9.0'

            target 'RNFirebaseStarter' do # Uncomment the next line if you're using Swift or would like to use dynamic frameworks # use_frameworks!

            # Pods for RNFirebaseStarter

            # Required by RNFirebase pod 'Firebase/Core', '~> 5.3.0'

            # [OPTIONAL PODS] - comment out pods for firebase products you won't be using. pod 'Firebase/AdMob', '~> 5.3.0' pod 'Firebase/Auth', '~> 5.3.0' pod 'Firebase/Crash', '~> 5.3.0' pod 'Firebase/Database', '~> 5.3.0' pod 'Firebase/Functions', '~> 5.3.0' pod 'Firebase/DynamicLinks', '~> 5.3.0' pod 'Firebase/Firestore', '~> 5.3.0' # pod 'Firebase/Invites', '~> 5.3.0' pod 'Firebase/Messaging', '~> 5.3.0' pod 'Firebase/RemoteConfig', '~> 5.3.0' pod 'Firebase/Storage', '~> 5.3.0' pod 'Firebase/Performance', '~> 5.3.0' pod 'Fabric', '~> 1.7.5' pod 'Crashlytics', '~> 3.10.4'

            end ```

            Error

            Errno::EACCES - Permission denied @ dir_s_mkdir - /react-native-firebase-starter/ios/Pods /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb:253:in `mkdir' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb:253:in `fu_mkdir' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb:227:in `block (2 levels) in mkdir_p' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb:225:in `reverse_each' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb:225:in `block in mkdir_p' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb:211:in `each' /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/fileutils.rb:211:in `mkdir_p' /Users/zolz/.gem/ruby/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/sandbox.rb:58:in `initialize' /Users/zolz/.gem/ruby/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/config.rb:184:in `new' /Users/zolz/.gem/ruby/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/config.rb:184:in `sandbox' /Users/zolz/.gem/ruby/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:140:in `installer_for_config' /Users/zolz/.gem/ruby/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command/install.rb:38:in `run' /Library/Ruby/Gems/2.3.0/gems/claide-1.0.2/lib/claide/command.rb:334:in `run' /Users/zolz/.gem/ruby/2.3.0/gems/cocoapods-1.5.3/lib/cocoapods/command.rb:52:in `run' /Users/zolz/.gem/ruby/2.3.0/gems/cocoapods-1.5.3/bin/pod:55:in `' /usr/local/bin/pod:22:in `load' /usr/local/bin/pod:22:in `'

            ――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

            [!] Oh no, an error occurred.

            Search for existing GitHub issues similar to yours: https://github.com/CocoaPods/CocoaPods/search?q=Permission+denied+%40+dir_s_mkdir+-+%2Freact-native-firebase-starter%2Fios%2FPods&type=Issues

            If none exists, create a ticket, with the template displayed above, on: https://github.com/CocoaPods/CocoaPods/issues/new

            Be sure to first read the contributing guide for details on how to properly submit a ticket: https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md

            Don't forget to anonymize any private data!

            Looking for related issues on cocoapods/cocoapods... Found no similar issues. To create a new issue, please visit: https://github.com/cocoapods/cocoapods/issues/new

            I already tried:

            ...

            ANSWER

            Answered 2018-Oct-08 at 18:35

            Try pod cache clean --all # will clean all pods

            Source https://stackoverflow.com/questions/52707932

            QUESTION

            How to Distrubute React Native App Back-end for Alpha / Beta Testing
            Asked 2018-Mar-12 at 15:19

            Explanation

            I just started playing around with React Native and Firebase and I was wondering how to publish my app and the whole process. I understand so far that I have the opportunity to deploy my app to Firebase Hosting, and I did. But when I did, it created a HTML file named index.html and does not even include the app. I know that this is normal when talking about hosting websites, but the React Native app is built around JS files.

            I ended up with this screen instead, https://pointtravels-1520169473363.firebaseapp.com/

            The App

            I simply downloaded and did the steps for the React Native Firebase Starter and then just did the Firebase initialization and deployment right afterwards with these instructions, https://firebase.google.com/docs/hosting/quickstart

            You can find the app structure here, https://github.com/invertase/react-native-firebase-starter

            The Firebase initialization created the following files,

            • firebase.json

              { "hosting": { "public": "public", "ignore": [ "firebase.json", "/.*", "/node_modules/**" ] } }

            • ./public/index.html

            • ./public/404.html

            Question

            How can I deploy my app and make it downloadable without publishing on the Google Play Store or the App Store?

            Why

            I would like to show my friends and family what I am working on.

            I am still new in the app development community, so I hope that a nice soul wanna help me out with a brief explanation on how to do this.

            Thanks in advance!

            ...

            ANSWER

            Answered 2018-Mar-11 at 04:07

            Okay, so I realized that Firebase Hosting is focused on web-based applications only and not anything native. I found out that Google Cloud Platform actually have something called App Engine, which says it all. So I guess I learned something new today, hurray!

            An app with Firebase integration this is the clearly the best choice.

            Source https://stackoverflow.com/questions/49214070

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install react-native-firebase-starter

            Let's install all the dependencies:. In order to run the app you have to setup Firebase (CodePush and OneSignal are optional).
            If you want to enable Push Notification, you will need to choose an Explicit App ID (a.k.a Product Bundle Identifier in iOS) for your app. The App Id of this demo app is me.jsapp.myapp. In order to change it, you need to find and replace all the instances of myapp and MyApp with your new App Id in the file names and in the content of all the files in the NewApp folder while respecting the case sensitivity. Example: myapp to newapp and MyApp to NewApp. If you change the prefix of the App ID me.jsapp to something else, you need to change the folder structure in android/app/src/main/java. Login or Register at https://onesignal.com. Add new app and select the Android platform first. Open a new tab and go to your Firebase app Settings > CLOUD MESSAGING: https://console.firebase.google.com/project/newapp/settings/cloudmessaging.
            Server key, a.k.a the Google Server API key
            Sender ID, a.k.a the Google Project Number a.k.a my_onesignal_google_project_number (you will need it later)*
            OneSignal App ID a.k.a. my_onesignal_app_id
            REST API Key a.k.a. my_onesignal_api_key
            my_onesignal_google_project_number in:
            my_onesignal_app_id in:
            my_onesignal_api_key in:
            Why CodePush? I am a CodePusher and I love it. Thanks MS and not M$ anymore. Install the CodePush CLI https://microsoft.github.io/code-push/index.html#getting_started. Create a CodePush account or Login if you have one already. Register your app with the service, create one for each platform.
            Edit the Google Analytics Tracker variable:. This app is only a starter. Now it's time for some customizations and improvements. ##License MIT License. Do whatever you want to do.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jsappme/react-native-firebase-starter.git

          • CLI

            gh repo clone jsappme/react-native-firebase-starter

          • sshUrl

            git@github.com:jsappme/react-native-firebase-starter.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link