This PR fixes two separate issues with the plugin-expo-eas-sourcemaps plugin:
Reinstates the API key in the Android manifest - this was removed in v48 as it isn't required for sourcemap uploads but it may be used by the fastlane plugin, for example to report builds to Bugsnag (see #114)
Fixes an EAS build failure when the Bugsnag config is defined in an app.config.js or app.config.ts file ( see https://github.com/bugsnag/bugsnag-expo/issues/118). The eas-build-on-success script now uses the @expo/config package to read the app's config instead of attempting to read directly from an app.json file.
Testing
Relied on CI, but also manually tested on an Expo 48 project with an app.config.js file
Goal
This PR fixes two separate issues with the
plugin-expo-eas-sourcemaps
plugin:Reinstates the API key in the Android manifest - this was removed in v48 as it isn't required for sourcemap uploads but it may be used by the fastlane plugin, for example to report builds to Bugsnag (see #114)
Fixes an EAS build failure when the Bugsnag config is defined in an
app.config.js
orapp.config.ts
file ( see https://github.com/bugsnag/bugsnag-expo/issues/118). Theeas-build-on-success
script now uses the@expo/config
package to read the app's config instead of attempting to read directly from anapp.json
file.Testing
Relied on CI, but also manually tested on an Expo 48 project with an
app.config.js
file