Skip to content

Conversation

@vzts
Copy link

@vzts vzts commented Oct 10, 2022

The support library has been replaced by androidx.
https://developer.android.com/jetpack/androidx/migrate

I know turning on android.useAndroidX and android.enableJetifier should automatically convert third party librarys to use android x, but for this repo it wasn't the case.

It gaves the error:

/node_modules/react-native-image-tools-wm/android/src/main/java/net/wowmaking/Utility.java:9: error: package android.support.media does not exist
import android.support.media.ExifInterface;
                            ^

Given that whole android ecosystem & community has already adopted to use androidx, it's time to use android x flag correctly in all libraries as well. So I'm pulling this code change.

The support library has been replaced by androidx.
https://developer.android.com/jetpack/androidx/migrate

I know turning on `android.useAndroidX` and `android.enableJetifier` should automatically convert third party librarys to use android x,
but for this repo it wasn't the case.

It gaves the error:
```
/node_modules/react-native-image-tools-wm/android/src/main/java/net/wowmaking/Utility.java:9: error: package android.support.media does not exist
import android.support.media.ExifInterface;
                                                   ^
```

Given that whole android ecosystem & community has already adopted to use androidx, it's time to use android x flag correctly in all libraries as well.
So I'm pulling this code change.
@GSTJ
Copy link

GSTJ commented Feb 13, 2024

+1, I need that 👆

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 this pull request may close these issues.

2 participants