Skip to content

Commit

Permalink
Merge pull request dpa99c#477 from bayssmekanique/doc/add-cli-clarifi…
Browse files Browse the repository at this point in the history
…cation

Adds additional CLI documentation
  • Loading branch information
dpa99c authored Aug 4, 2020
2 parents 571f7b7 + f4de24c commit 91f7a50
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,17 @@ You can validate your CLI build environment using [this publicly-available `Goog
cordova build ios --emulator
#build succeeds

Following the installation steps above, modify the `package.json` file to pin the `cli` variant of this package by removing the `^` or `~` prefix from the package declaration. Failure to do this will result in build issues the next time the `cordova prepare` steps are performed as the non-cli version of the package will replace the cli variant.
```
"dependencies": {
"cordova-android": "~8.1.0",
"cordova-ios": "^6.1.0",
"cordova-plugin-androidx": "^2.0.0",
"cordova-plugin-androidx-adapter": "^1.1.1",
"cordova-plugin-firebasex": "^10.1.2-cli" --> Change to "10.1.2-cli"
},
```

# Firebase config setup
There's a handy [installation and setup guide on medium.com](https://medium.com/@felipepucinelli/how-to-add-push-notifications-in-your-cordova-application-using-firebase-69fac067e821).
However, if using this, remember this forked plugin is `cordova-plugin-firebasex` (not `cordova-plugin-firebase`).
Expand Down

0 comments on commit 91f7a50

Please sign in to comment.