Skip to content

Commit

Permalink
RMET-3013 FCM Plugin - Prepare release 2.0.1 (#78)
Browse files Browse the repository at this point in the history
* fix: only deal with intents from FCM

Context: In the FCM plugin and library, we only want to deal with intents that come from the plugin. To do that, we are including this extra every time the plugin sends a notification with an intent.

References: https://outsystemsrd.atlassian.net/browse/RMET-3013

* fix: get extra as String instead of Boolean

References: https://outsystemsrd.atlassian.net/browse/RMET-3006

* refactor: use more unique string for extra

References: https://outsystemsrd.atlassian.net/browse/RMET-3013

* chore: update changelog

References: https://outsystemsrd.atlassian.net/browse/RMET-3013

* chore: update dependency version

References: https://outsystemsrd.atlassian.net/browse/RMET-3013

* chore(release): raise to version 2.0.1

References: https://outsystemsrd.atlassian.net/browse/RMET-3013
  • Loading branch information
alexgerardojacinto authored and OS-ricardomoreirasilva committed Apr 12, 2024
1 parent ff811bd commit cd621e4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

The changes documented here do not include those from the original repository.

## [Unreleased]
## [Version 2.0.1]
- Fix: Only deal with intents from the plugin (https://outsystemsrd.atlassian.net/browse/RMET-3013)

## [Version 2.0.0]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.outsystems.firebase.cloudmessaging",
"version": "2.0.0",
"version": "2.0.1",
"description": "Outsystems plugin for Firebase Cloud Messaging",
"keywords": [
"ecosystem:cordova",
Expand Down
11 changes: 6 additions & 5 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<plugin id="com.outsystems.firebase.cloudmessaging" version="1.2.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<plugin id="com.outsystems.firebase.cloudmessaging" version="2.0.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>OSFirebaseCloudMessaging</name>
<description>Outsystems plugin for Firebase Cloud Messaging</description>
<author>OutSystems Inc</author>
<js-module name="OSFirebaseCloudMessaging" src="www/OSFirebaseCloudMessaging.js">
<clobbers target="cordova.plugins.OSFirebaseCloudMessaging"/>
</js-module>

<dependency id="cordova-outsystems-firebase-core" url="https://github.com/OutSystems/cordova-outsystems-firebase-core.git#1.0.0"/>
<dependency id="cordova-outsystems-firebase-core" url="https://github.com/OutSystems/cordova-outsystems-firebase-core.git#2.0.0"/>

<hook type="after_prepare" src="hooks/unzipSound.js" />
<hook type="after_prepare" src="hooks/cleanUp.js" />

<platform name="ios">

<config-file parent="/*" target="config.xml">
Expand All @@ -34,6 +37,7 @@
</config-file>

<!-- iOS Source Files -->
<source-file src="src/ios/OSFCMEventExtensions.swift" />
<source-file src="src/ios/OSFirebaseCloudMessaging.swift" />
<header-file src="src/ios/AppDelegate+OSFirebaseCloudMessaging.h" />
<source-file src="src/ios/AppDelegate+OSFirebaseCloudMessaging.m" />
Expand Down Expand Up @@ -61,9 +65,6 @@
<platform name="android">

<hook type="after_prepare" src="hooks/android/androidCopyChannelInfo.js" />

<hook type="before_plugin_install" src="hooks/android/sound/copySound.js" />

<config-file parent="/*" target="res/xml/config.xml">
<feature name="OSFirebaseCloudMessaging">
<param name="android-package" value="com.outsystems.firebase.cloudmessaging.OSFirebaseCloudMessaging"/>
Expand Down

0 comments on commit cd621e4

Please sign in to comment.