-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(evaluating '_reactNativeDeviceBattery2.default.addListener()') #12
Comments
Could you share a snippet of what your import statement looks like? |
This is my import statement.
But Thank you for your reply. |
Thanks, we’ll try to reproduce this on our end. |
It's ok...Please make the necessary updates... Thank you |
@Madhukanth Can you please provide more info (RN version & platform) regarding this issue that you're facing? |
These are my configuration and versions.Please refer it, Android 5.1 physical device My PC is windows 8.1 32bit gradle version: 2.14.1 Thank you. |
Sorry for the delay. |
I believe you can solve that issue by installing directly from this commit since we haven't published the updated version to npm. Just do Let me know if that works. |
Thank you so much... Thanks again. |
Sorry...It shows host key verification failed?? |
Sorry, can you try this?
|
Sure.I will try and report. Thanks again... |
This time there is no error... Do i need to get any permission for battery which i should include it in AndroidManifest.xml??? |
I have added permission too..
This is my code. |
I will take a look and get back to you 😄 |
Sure...Thank you |
I added this code to AndroidManifest.xml After that app crashes when charging pluged out or pluged in.. |
|
DeviceBattery.addListener() alone is causing error
undefined is not a function(evaluating '_reactNativeDeviceBattery2.default.addListener()')
Please help me to solve this...
The text was updated successfully, but these errors were encountered: