diff --git a/CHANGELOG.md b/CHANGELOG.md index 594b83d..ab952d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ All notable changes to this project will be documented in this file. See [standa ## Breaking change -- Android: replace `io.stewan.capacitor.fcm.FCMPlugin` to `com.getcapacitor.fcm.FCMPlugin` in your `MainActivity.java` +- Android: replace `io.stewan.capacitor.fcm.FCMPlugin` to `com.getcapacitor.community.fcm.FCMPlugin` in your `MainActivity.java` ### [1.0.4](https://github.com/capacitor-community/fcm/compare/v1.0.3...v1.0.4) (2020-06-27) diff --git a/CapacitorCommunityFcm.podspec b/CapacitorCommunityFcm.podspec index a9da464..91860dd 100644 --- a/CapacitorCommunityFcm.podspec +++ b/CapacitorCommunityFcm.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'CapacitorCommunityFcm' - s.version = '1.0.0' + s.version = '1.0.6' s.summary = 'Enable Firebase Cloud Messaging features for Capacitor apps' s.license = 'MIT' s.homepage = 'https://github.com/capacitor-community/fcm' diff --git a/README.md b/README.md index 5e40718..cde1687 100644 --- a/README.md +++ b/README.md @@ -172,7 +172,7 @@ Download the `google-services.json` file and copy it to `android/app/` directory - add `google-services.json` to your `android/app` folder - `[extra step]` in android case we need to tell Capacitor to initialise the plugin: -> on your `MainActivity.java` file add `import com.getcapacitor.fcm.FCMPlugin;` and then inside the init callback `add(FCMPlugin.class);` +> on your `MainActivity.java` file add `import com.getcapacitor.community.fcm.FCMPlugin;` and then inside the init callback `add(FCMPlugin.class);` Now you should be set to go. Try to run your client using `ionic cap run android --livereload`. diff --git a/android/src/main/AndroidManifest.xml b/android/src/main/AndroidManifest.xml index 062800a..9098e3d 100644 --- a/android/src/main/AndroidManifest.xml +++ b/android/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.getcapacitor.community.fcm.fcm"> \ No newline at end of file diff --git a/android/src/main/java/com/getcapacitor/fcm/FCMPlugin.java b/android/src/main/java/com/getcapacitor/community/fcm/FCMPlugin.java similarity index 98% rename from android/src/main/java/com/getcapacitor/fcm/FCMPlugin.java rename to android/src/main/java/com/getcapacitor/community/fcm/FCMPlugin.java index 6456b0e..686ae1a 100644 --- a/android/src/main/java/com/getcapacitor/fcm/FCMPlugin.java +++ b/android/src/main/java/com/getcapacitor/community/fcm/FCMPlugin.java @@ -1,4 +1,4 @@ -package com.getcapacitor.fcm; +package com.getcapacitor.community.fcm; import com.getcapacitor.JSObject; import com.getcapacitor.NativePlugin;