Google signin error in react-native version 0.57.8 - javascript

I want to implement google authentication in my react-native application but even i have followed the documentation it gives me strange error:
RNGoogleSigninPackage.java:25: error:
method does not override or implement a method from a supertype
#Override
^
1 error
:react-native-google-signin:compileReleaseJavaWithJavac FAILED
In IOS it works everything perfect but when i try in windows 10 it gives me the error also i have tried to delete #Override from file RNGoogleSigninPackage.java:25 then the build is successful but the application doesn't start in simulator.

Related

Not able to log in into react native app on android version 6

My react native app is installed on Android 6. But whenever I try to login into the app, the app shows the following error:
Error: Network Error
createError#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.<app-name>&modulesOnly=false&runModule=true:168476:26
handleError#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.<app-name>&modulesOnly=false&runModule=true:168235:69
dispatchEvent#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=<app-name>&modulesOnly=false&runModule=true:31695:31
setReadyState#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=<app-name>&modulesOnly=false&runModule=true:30810:33
__didCompleteResponse#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=com.<app-name>&modulesOnly=false&runModule=true:30616:29
emit#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=<app-name>&modulesOnly=false&runModule=true:2133:42
__callFunction#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=<app-name>&modulesOnly=false&runModule=true:3099:36
http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=<app-name>&modulesOnly=false&runModule=true:2823:31
__guard#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=<app-name>&modulesOnly=false&runModule=true:3050:15
callFunctionReturnFlushedQueue#http://10.0.2.2:8081/index.bundle?platform=android&dev=true&minify=false&app=<app-name>&modulesOnly=false&runModule=true:2822:21
callFunctionReturnFlushedQueue#[native code]
Is there a way to make the app sign-in on Android 6 version?

Truffle contract deployment stuck

Whenever i use truffle to deploy, my console outputs an empty line and gets stuck
Here is my config :
When i run truffle migrate --network ropsten the console stops and it doesn't output anything.
Any help would be appreciated
UPDATE
Now im getting this error :
Error: PollingBlockTracker - encountered an error while attempting to update latest block:
Error: getaddrinfo ENOTFOUND ropsten.infura.io
So as it turns out, Infura do not have functionality to unlock an account using the private key. I ended up moving my code back to remix.Although you cant work and develop locally with remix, it provides a great interface for deploying smart contracts from your meta mask wallet. No migration scripts required!

XMLHttpRequest error in ReactNative Debug mode

I delete my android emulator and create a new one after this when i build my react native project and active debug mode this error appears on emulator but i dont have any problems with Previous emulator :
Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'http://localhost:8083/create_session'.
and this on browser's console :
Must first create RPC session with a valid host
what should i do?

Failed to execute 'getStats' on 'RTCPeerConnection' on Twilio JS 1.4.16

I'm using Twilio on an Electron app, currently the chrome version it uses is 56. I've upgraded my twilio version from 1.3 to 1.4.16. When I start an audio call, everything goes fine, however I get an error on console that might be related to RTC statistics. That's the error:
Uncaught (in promise) TypeError: Failed to execute 'getStats' on 'RTCPeerConnection': No function was found that matched the signature provided.
at getStatistics (twilio.js:5011)
at RTCMonitor.getSample (twilio.js:3716)
at RTCMonitor._fetchSample (twilio.js:3732)
I couldn't find any clue about that, searching on google.

Cordova add android error

I trying add cordova android app and getting a json parsing error.
I think that it is cordova error, because I can create and test my projects with ionic and phonegap at Android Emulator.
C:\>cordova create hello hello.cd.cm HelloWorld
Creating a new cordova project with name "HelloWorld" and id "hello.cd.cm" at lo
cation "C:\hello"
C:\>cd hello
C:\hello>cordova platform add android -verbose
No version supplied. Retrieving version from config.xml...
CordovaError: Unable to fetch platform android: Error: Failed to parse json
Unexpected token
at C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\cordo
va-lib\src\cordova\platform.js:194:15
at _rejected (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_mo
dules\q\q.js:797:24)
at C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.j
s:823:30
at Promise.when (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node
_modules\q\q.js:1035:31)
at Promise.promise.promiseDispatch (C:\Users\user\AppData\Roaming\npm\node_m
odules\cordova\node_modules\q\q.js:741:41)
at C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_modules\q\q.j
s:557:44
at flush (C:\Users\user\AppData\Roaming\npm\node_modules\cordova\node_module
s\q\q.js:108:17)
at process._tickCallback (node.js:355:11)
Help me please.
UPD:
I degrade cordova from 4.3.0 to 4.2.0 and it works now. But it is not normal of course...

Categories

Resources