LOGIN
Load 12 previous comments
Nouman Tahir
16
Mastermind
Mobile and iOT Applications Developer
 · SargodhaPakistan
Share
Report
Get Link

according to stack trace, its happening while casting value argument…here check out line 57 in this class

https://github.com/facebook/react-native/blob/master/ReactAndroid/src/main/java/com/facebook/react/bridge/JsonWriterHelper.java

according to this, we are sending some non primitive value which is causing the crash.

Like
0 like 
Award Contribution
Robert Lancer
45
Community Expert
Chief Technology Officer at Collaborizm (Project Leader)
 · New YorkU.S.
Share
Report
Get Link

Hum but we never call that class directly. Were you able to pull the repo and run the project locally?

Like
0 like 
Award Contribution
Nouman Tahir
16
Mastermind
Mobile and iOT Applications Developer
 · SargodhaPakistan
Share
Report
Get Link

not yet, I am working on a client project right now, will run that later today for sure.

p.s. the class is not meant to be called directly but it gets called while building module properties.

Like
0 like 
Award Contribution
Nouman Tahir
16
Mastermind
Mobile and iOT Applications Developer
 · SargodhaPakistan
Share
Report
Get Link

I asked a friend of mine to try Collaborizm app and give feedback if he happens to have a crash, here is his experience…

“I downloaded the app and opened it and it worked fine. But when i clicked on login through facebook button, the button turned blue but didnt do anything. I tried it multiple times but nothing. Then i closed the app and after sometime opened it again but it crashed instantly and does so everytime.”

p.s. he was not a part of Collaborizm before

Like
0 like 
Award Contribution
Nouman Tahir
16
Mastermind
Mobile and iOT Applications Developer
 · SargodhaPakistan
Share
Report
Get Link

According to him, after clicking login button on first launch he was taken directly to main screen without logging him in and main screen had the login button visible on top right corner, clicking that button displayed a facebook login web dialog instead of dedicated login screen for app. on clicking the login button, button turned blue and app got stuck and later app started crashing on startup

my conclusion:
there is something that is not working for the FBView and a link between app and webview on Login button click, because even with my phone Login button sometimes opened FB Login App Screen(Activity) and sometimes web dialog pops up. Although I have not experience any crash with my Nexus device

Like
1 like 
Award Contribution
Robert Lancer
45
Community Expert
Chief Technology Officer at Collaborizm (Project Leader)
 · New YorkU.S.
Share
Report
Get Link

Will have to redo the login flow for the app.

Like
1 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
New Post
Help
Start Project
Online Users
Share Link