Skip to content

Commit

Permalink
fix(android): java path
Browse files Browse the repository at this point in the history
  • Loading branch information
stewones committed Jun 29, 2020
1 parent b1adbd7 commit 70a0c9a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion CapacitorCommunityFcm.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
2 changes: 1 addition & 1 deletion android/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.getcapacitor.fcm.fcm">
package="com.getcapacitor.community.fcm.fcm">
</manifest>

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.getcapacitor.fcm;
package com.getcapacitor.community.fcm;

import com.getcapacitor.JSObject;
import com.getcapacitor.NativePlugin;
Expand Down

0 comments on commit 70a0c9a

Please sign in to comment.