-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
App doesn't load with the new custom Application\Activity support #546
Comments
Sidenote, when we do have the custom activity it seems that it's a COMMON issue for the app to not start, related to this issue NativeScript/nativescript-cli#2028 |
Hi @sitefinitysteve,
The issue in the issue you're pointing to is that cli has a hardcoded activity to start, and even if you have a custom activity it's not respected. The cli team is working on fixing this behavior. Your particular issue is different and is connected with the static binding generator only. |
Oh yeah sorry i know they aren't related, just saying it also happens with the custom activity. So this issue preventing the auth0 custom activity from loading is being addressed and is a real issue? |
ProblemCurrent problem is in the new implementation of the static binding generator.
because interfaces have no such implemented methods. SolutionRemove |
@Plamen5kov Are you asking me to do this, or is this just a note for whomever is fixing it in the generator? |
@sitefinitysteve i'm just leaving it as a note, so we fix the issue faster when we get the time. |
Thx for 2.4ing it guys |
How we looking on this, Auth0-able post 2.4 perhaps? |
@sitefinitysteve you can test that with the master branch available on |
I love the confidence 🌮 |
Hi @sitefinitysteve It seems that the problem now is in the application module initialization logic. I will look further at it. |
Oh yeah, I can look into it now :) Glad were now here though! |
Oh AWESOME... so this is Broadcast receivers aside though right, on a core level the Lock screen loads |
@slavchev Okay so since 2.4 is out, I pulled this all down to finally get it up and running... now it builds, but at runtime the demo just throws like a million CallJSMethodNative items then just crashes out... I never get to see anything |
Today I double checked the issue and I confirm the issue is fixed. Please check your runtime version.
Both our QA team and I tested against 9b9199e. Also, please make sure you follow the instructions given above. |
Yeah I followed the instructions before posting... I updated all my google libs, and removed the app from geny... now she loads! On with the struggle though to get this properly working, thx guys :) |
Yep on 2.4... so now I did have it loading after I killed the app on geny and reset the platforms... HOWEVER Auth0 appears to have changed their API entirely to DRASTICALLY simplify and not require a custom Application I believe I have implemented it per the docs, but I just get a million tns runtime errors when I try to build the lock This is the console from when it crashes you can see the console log\dump from the prev lines in there
|
Guys, I updated to the lastest, re-wiped everything and I still can't get past this, can someone confirm or... anything? People in the repo are anxiously awaiting android support |
@bradmartin pulled down the repo and is also getting the same results as me, thoughts? So its a bit different in that the code you previously tested extending Application is no longer required (thanks to Auth0 I suppose) |
Keep closed, I think I've found the reason for the crashing |
Yeah no doesn't fix anything... Sorry I haven't checked in the new code
yet... Near total rewrite better api and in TS just haven't pushed it to git
…On Dec 8, 2016 5:54 AM, "Nick Iliev" ***@***.***> wrote:
Hey @sitefinitysteve <https://github.com/sitefinitysteve> have you
managed to resolve your issue? I have tested your demo application and
although Google is reporting that I have successfully logged from another
device the demo itself is reloading to the auth page (not receiving the
token)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#546 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABeI6P0kN1DW4iOY2ZpZ-LOhCbnWFmigks5rF-H1gaJpZM4JzEaN>
.
|
Did you verify this is a real problem by searching [Stack Overflow]
Yes
Tell us about the problem
When you run the demo it says app is deployed to the device, but no app actually runs\loads. if you MANUALLY run it, it just crashes.

Please provide the following version numbers that your issue occurs with:
All latest as of 2.2.1
Did the error happen while the app was being constructed? (buildtime error)
No, although there is an error @Pip3r4o fixed generating the Application class (generates super.getLock()), I think it's a non issue with the latest internal master?
Did the error happen while the app was executing? (runtime error)
Please tell us how to recreate the issue in as much detail as possible.
https://github.com/sitefinitysteve/nativescript-auth0/commits?author=sitefinitysteve
The text was updated successfully, but these errors were encountered: