Skip to content

Commit

Permalink
chore(npm): properly configure for scope package (havesource#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
erisu authored Sep 11, 2020
1 parent edaff20 commit 0962b76
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions docs/INSTALLATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ To make the two work together, you need to migrate your GCM project from Google
{
"cordova": {
"plugins": {
"cordova-plugin-push": {
"havesource-cordova-plugin-push": {
"ANDROID_SUPPORT_V13_VERSION": "27.+",
"FCM_VERSION": "18.+"
}
Expand Down Expand Up @@ -291,8 +291,8 @@ This plugin uses the [Firebase/Messaging](https://cocoapods.org/pods/Firebase) l
If you are attempting to install this plugin and you run into this error:

```log
Installing "cordova-plugin-push" for ios
Failed to install 'cordova-plugin-push':Error: pod: Command failed with exit code 1
Installing "havesource-cordova-plugin-push" for ios
Failed to install 'havesource-cordova-plugin-push':Error: pod: Command failed with exit code 1
at ChildProcess.whenDone (/Users/smacdona/code/push151/platforms/ios/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
Expand Down
2 changes: 1 addition & 1 deletion hooks/browser/updateManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ module.exports = function (context) {

var pluginManifestPath = path.join(
context.opts.projectRoot,
'plugins/cordova-plugin-push/src/browser/manifest.json'
'plugins/havesource-cordova-plugin-push/src/browser/manifest.json'
);

fs.readFile(pluginManifestPath, 'utf8', function (err, pluginJson) {
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "cordova-plugin-push",
"name": "@havesource/cordova-plugin-push",
"version": "1.0.0",
"description": "Register and receive push notifications.",
"scripts": {
Expand Down Expand Up @@ -47,7 +47,7 @@
},
"types": "./types/index.d.ts",
"cordova": {
"id": "cordova-plugin-push",
"id": "havesource-cordova-plugin-push",
"platforms": [
"ios",
"android",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-push" version="1.0.0">
id="havesource-cordova-plugin-push" version="1.0.0">

<name>Cordova Push Plugin</name>
<description>Enable receiving push notifications on Android, iOS and Windows devices. Android uses Firebase Cloud Messaging. iOS uses Apple APNS Notifications. Windows uses Microsoft WNS Notifications.</description>
Expand Down

0 comments on commit 0962b76

Please sign in to comment.