Add Google Services Gradle plugin integration to withHuaweiPush.js to enable Firebase initialization alongside Huawei Push. This includes: - Adding google-services classpath dependency for buildscript - Applying com.google.gms.google-services plugin after React plugin - Copying google-services.json to android/app/ for runtime initialization Without these changes, Firebase initialization fails at runtime with "default FirebaseApp is not initialized" when google-services.json is configured in app.json.
11 lines
379 B
JSON
11 lines
379 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(python -c \"import sys,json; d=json.load\\(sys.stdin\\); deps={**d.get\\('dependencies',{}\\), **d.get\\('devDependencies',{}\\)}; [print\\(f'{k}: {v}'\\) for k,v in deps.items\\(\\) if 'navigation' in k or 'tab' in k.lower\\(\\)]\")",
|
|
"Bash(npx tsc *)",
|
|
"Bash(echo \"EXIT: $?\")",
|
|
"Bash(npm view *)"
|
|
]
|
|
}
|
|
}
|