react-native-firestack | A firestack v3 react-native implementation | Authentication library
kandi X-RAY | react-native-firestack Summary
kandi X-RAY | react-native-firestack Summary
A firestack v3 react-native implementation
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Update the email address
- Returns the user map
- User exception callback
- Set a callback for the user
- Upload file
- Returns download data
- Registers a listener for the specified path
- Add a new child event listener
- Gets the real path from the URI
- Creates the error payload
- Create native modules
- Initialize broadcast event handler
- Update the current user s password
- Configure the options with the given parameters
- Listen for an authentication event
- Send a message
- Downloads a javascript URL
- Gets access token
- Get database query by path and modifiers
- Initialize message handler
- Push a path to the database
- Re - authenticate with a credential
- Called when an incoming message is received
- This method returns a map of static constants
- Update user s profile
- Deletes the current user account
react-native-firestack Key Features
react-native-firestack Examples and Code Snippets
Community Discussions
Trending Discussions on react-native-firestack
QUESTION
I'm trying to add the react-native-firestack
package to my app. But it keeps giving the following error :
ANSWER
Answered 2017-Mar-05 at 15:26Make sure you use the same version in all your google play services libs: For example :
QUESTION
I've cloned the react-native-hackathon-starter repo, wrote my own little app and tried to build an apk for debug using gradle assembleDebug, but I get this exception:
path\to\project\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.2.1\res\drawable\common_google_signin_btn_icon_dark_normal.xml:3:29-91 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_dark_normal_background'). path\to\project\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.2.1\res\drawable\common_google_signin_btn_icon_light_normal.xml:3:29-92 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_icon_light_normal_background'). path\to\project\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.2.1\res\drawable\common_google_signin_btn_text_dark_normal.xml:3:29-91 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_dark_normal_background'). path\to\project\android\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\10.2.1\res\drawable\common_google_signin_btn_text_light_normal.xml:3:29-92 : No resource found that matches the given name (at 'drawable' with value '@drawable/common_google_signin_btn_text_light_normal_background').
FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-firestack:processReleaseResources'.
com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Users\my_user\AppData\Local\Android\android-sdk\build-tools\23.0.1\aapt.exe'' finished with non-zero exit value 1
Try: Run with --info or --debug option to get more log output.
Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':react-native-firestack:processReleaseResources'.
From what I can tell, it's missing some graphical resources. I've tried gradlew clean before assemble, it still doesn't fix the issue.
Someone else has the same issue as me.
My package.json:
...ANSWER
Answered 2017-Apr-26 at 18:04After deleting the node_modules folder, doing another npm install, removing node_modules/react-native-router-flux/react-native and editing out
compile 'com.google.android.gms:play-services-base:+
from node_modules/react-native-firestack/android/build.gradle, because it was causing interference with the gms dependency in my root build.gradle, I was able to do a gradlew assembleDebug and assembleRelease.
I think there was a problem with the firestack package, not bundling assets together correctly or whatever. All good now.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-firestack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page