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

Reference of Android plugins have changed in 3.3.rc6 #47198

Closed
DisDoh opened this issue Mar 20, 2021 · 2 comments
Closed

Reference of Android plugins have changed in 3.3.rc6 #47198

DisDoh opened this issue Mar 20, 2021 · 2 comments

Comments

@DisDoh
Copy link

DisDoh commented Mar 20, 2021

Godot version:

3.3.rc6

OS/device including version:

MacOs Macbook air 2017

Issue description:

org.godotengine.godot.Godot): [0x6] register v2 has type Reference: org.godotengine.godot.Godot but expected Reference: android.app.Activity

Steps to reproduce:
use a plugin from 3.2.3 and copy it to 3.3.rc6

Minimal reproduction project:

https://github.com/DisDoh/GodotVibrate
I've used my plugin which is working on 3.2.3 but not on 3.3.rc6

@DisDoh DisDoh changed the title Reference of plugins have changed Reference of plugins have changed in 3.3.rc6 Mar 20, 2021
@DisDoh DisDoh changed the title Reference of plugins have changed in 3.3.rc6 Reference of Android plugins have changed in 3.3.rc6 Mar 20, 2021
@akien-mga akien-mga added this to the 3.3 milestone Mar 20, 2021
@m4gr3d
Copy link
Contributor

m4gr3d commented Mar 20, 2021

@DisDoh that's expected behavior. Even for 3.2.3 you were using the godot instance incorrectly; you're supposed to use getActivity() instead.
Once you make the switch the plugin should work for both 3.2.3 and 3.3.

@DisDoh
Copy link
Author

DisDoh commented Mar 24, 2021

Thank you

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

No branches or pull requests

3 participants