expo / turtle

Standalone app builder service
MIT License
385 stars 29 forks source link

[android] Always add expo-notifications for SDK >= 39 projects with android.enableDangerousExperimentalLeanBuilds enabled #267

Closed brentvatne closed 3 years ago

brentvatne commented 3 years ago

Checklist

Motivation and Context

Fixes https://github.com/expo/expo/issues/10569. I discussed this with @sjchmiela and we decided this was the most feasible solution.

Description

I made resolveNativeModules also take a sdkVersion argument and if it is greater than or equal to 39.0.0 then we add the expo-notifications module.