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

Deprecated API usage notice on Android #105

Open
piotr-cz opened this issue Feb 8, 2024 · 0 comments · May be fixed by #106
Open

Deprecated API usage notice on Android #105

piotr-cz opened this issue Feb 8, 2024 · 0 comments · May be fixed by #106

Comments

@piotr-cz
Copy link
Contributor

piotr-cz commented Feb 8, 2024

Describe the bug

When building app in Android Studio, following notice is printed in the Build tab:

> Task :capacitor-community-apple-sign-in:compileDebugJavaWithJavac
Note: XXX\node_modules\@capacitor-community\apple-sign-in\android\src\main\java\com\getcapacitor\community\applesignin\SignInWithApple.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

> Task :capacitor-community-apple-sign-in:bundleLibCompileToJarDebug

To Reproduce
Steps to reproduce the behavior:

  1. Integrate plugin
  2. Open Android Studio
  3. Build
  4. See notice

Expected behavior
Even that Android functionality is not implemented and it's only a placeholder, it's still using deprecated methods

Screenshots
Not provided

Desktop (please complete the following information):
Not applicable

Smartphone (please complete the following information):
Not applicable

Additional context

I'd say that the src/main/java/com/getcapacitor/community/applesignin/SignInWithApple.java file was omitted from upgrades when rest of plugin code base was upgraded to Capacitor 4 and Capacitor 5

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

Successfully merging a pull request may close this issue.

1 participant