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

linting errors in react-native-amplitude #938

Open
ethanneff opened this issue Dec 18, 2024 · 0 comments
Open

linting errors in react-native-amplitude #938

ethanneff opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ethanneff
Copy link

ethanneff commented Dec 18, 2024

there errors show up when compiling android builds via cd android && ./gradlew assembleDebug

[15:12:02]: ▸ w: /node_modules/@amplitude/analytics-react-native/android/src/main/java/com/amplitude/reactnative/AndroidContextProvider.kt:118:30 'toUpperCase(Locale): String' is deprecated. Use uppercase() instead.
[15:12:02]: ▸ w: /node_modules/@amplitude/analytics-react-native/android/src/main/java/com/amplitude/reactnative/AndroidContextProvider.kt:138:32 'locale: Locale!' is deprecated. Deprecated in Java
[15:12:02]: ▸ w: /node_modules/@amplitude/analytics-react-native/android/src/main/java/com/amplitude/reactnative/AndroidContextProvider.kt:212:13 Condition 'limitAdTrackingEnabled != null' is always 'true'
[15:12:02]: ▸ w: /node_modules/@amplitude/analytics-react-native/android/src/main/java/com/amplitude/reactnative/AndroidContextProvider.kt:240:16 Condition 'status != null' is always 'true'
[15:12:02]: ▸ w: /node_modules/@amplitude/analytics-react-native/android/src/main/java/com/amplitude/reactnative/AndroidLogger.kt:6:22 Parameter 'i' is never used
@ethanneff ethanneff added the bug Something isn't working label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant