Custom plugin for react-native-batch needs google-services.json

Hi!
I am trying to develop a custom plugin to add GitHub - bamlab/react-native-batch-push: React Native integration of Batch.com push notifications SDK to my expo application.
You can find it there : GitHub - bamlab/react-native-batch-push at expo

It seems to work well when I run expo prebuild. The whole /android folder seems to match with another project, but when I try to test it with expo run-android the build failed with this message :

> Configure project :expo-structured-headers
Warning: The 'kotlin-android-extensions' Gradle plugin is deprecated. Please use this migration guide (https://goo.gle/kotlin-android-extensions-deprecation) to start working with View Binding (https://developer.android.com/topic/libraries/view-binding) and the 'kotlin-parcelize' plugin.

> Task :app:processDebugGoogleServices FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugGoogleServices'.
> File google-services.json is missing. The Google Services Plugin cannot function without it.
   Searched Location:
  /Users/me/bam/poc/eas/android/app/src/debug/google-services.json
  /Users/me/bam/poc/eas/android/app/src/google-services.json
  /Users/me/bam/poc/eas/android/app/src/Debug/google-services.json
  /Users/me/bam/poc/eas/android/app/google-services.json

I configured Firebase in my app.json file, but without any success.

My guess is that in my plugin I add this line in the app/build.gradle file :
apply plugin: 'com.google.gms.google-services'

but I have no idea how to copy/paste my google-services file to the right place with expo plugin, neither how to give the firebase config in app.json to the google plugin.

Any idea ?

We recommend that packages use the built-in googleServices key, react-native-firebase plugin does this already. So you can simply document that projects use expo.android.googleServicesFile.