Skip to content
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

64bit version - important note #20

Open
trinoo1979 opened this issue Feb 13, 2020 · 0 comments
Open

64bit version - important note #20

trinoo1979 opened this issue Feb 13, 2020 · 0 comments

Comments

@trinoo1979
Copy link

trinoo1979 commented Feb 13, 2020

When using an ANE version with 64bit (thanks Mateo!) support from that branch, be aware of two things:

  1. package name changed in that version, so when importing to the air project, change previous
    import com.freshplanet.ane.KeyboardSize.MeasureKeyboard
    to
    import com.freshplanet.ane.AirKeyboardSize.MeasureKeyboard

  2. public static function getInstance() is now public static getter instance(), so in your project do not call previous
    MeasureKeyboard.getInstance().getKeyboardHeight(), but instead call now:
    MeasureKeyboard.instance.getKeyboardHeight()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant