How to overwrite compileSdkVersion with config plugin?

Hi there, we are using a native library which required the min compileSdkVersion to be 31, but the Expo SDK 43 default is 30. I understand this can be overwrite with config plugin, but where can we find an example or guide on how to do it, great thanks :smiley:

Hi

Here’s a config plugin that modifies minSdkVersion. See if it helps:

1 Like

In case you are running into this due to onesignal, they updated their gradle version and it now works correclty.

1 Like

Its works, thank you :+1:

1 Like

I’ve found an easier way to change the minSdkVersion (and similar options) without having to write your own plugin: