-
Notifications
You must be signed in to change notification settings - Fork 839
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
Is Android supported now? #403
Comments
Sorry, i don't have time to do it. |
@killme2008 can you give us some suggestions like which parts need to be fixed to support Android? We may have some developers to work on this. |
@hsluoyz I will implement it in 5.3 version. |
@hsluoyz hi, i am implementing interpreter mode in #412 . It's almost completed right now, can you help me to try it on android platform? You can create a script engine in interpreter mode by : AviatorEvaluatorInstance engine = AviatorEvaluator.newInstance(EvalMode.INTERPRETER); Then use the |
Of course, the default(global) script engine will try to detect if it's running on android platform , then use interpreter mode by default. |
@killme2008 thanks for supporting Android! @tangyang9464 can you try this solution? |
@hsluoyz @killme2008 I'll do it |
@tangyang9464 If you have any test result or issues, please let me known. I will release a beta version ASAP. |
@killme2008 I tested it briefly and compared with the previous version, at least it can now run successfully on the Android platform. |
@tangyang9464 yep, it will detect if it's running on andorid platform, if so, then use interpreter by default. |
@killme2008 ok,waiting for the beta release version. We will test it in our application later. |
I released 5.3.0-beta , you can test it right now, thank you. @tangyang9464 |
@killme2008 I test the 5.3.0-beta, but it reported an error. The code just
I used yours |
sorry, i don't have an android environment to test it. It's a bug here, i will fix it ASAP. |
Fixed in 797abed Try to release beta2 |
Released 5.3.0-beta2. https://repo1.maven.org/maven2/com/googlecode/aviator/aviator/5.3.0-beta2/ Thank you for your test. |
@tangyang9464 have you tried beta2? any problems? |
@killme2008 No problems for now |
@tangyang9464 hi, Did you found any problems in 5.3.0-beta2 version running on android? If not, i will release 5.3.0 ASAP. |
@killme2008 No bugs have been reported so far. I think it can be released |
@killme2008 hi, I'm from Casbin community. Casbin uses aviator as evaluation engine and a user reported that aviator doesn't support Android in: casbin/jcasbin#214 . When can the support be added? Thanks for the contribution!
The text was updated successfully, but these errors were encountered: