Skip to content

Commit

Permalink
RMET-3608 - Prepare to release version 5.0.0-OS12 (#26)
Browse files Browse the repository at this point in the history
* chore: Raise Pod Version (#19)

Raises Pod version to 8.15.0

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

* RMET-3165 ::: Android ::: Update Gradle Dependencies (#20)

* fix: Update Gradle Dependencies

Update com.android.tools.build:gradle to 3.6.4 and com.google.gms:google-services to 4.3.14

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

* chore: Add CHANGELOG entry

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

* RMET-3274 ::: iOS ::: Update 3rd Party that Adds Privacy Manifest (#22)

* chore: Update iOS SDK version

Update iOS' 3rd party SDK version to `10.23.0`.
Enable the `use_frameworks` flag for CocoaPods.
Fix import errors.

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

* chore: Update deprecated call

Replace the `FIRDynamicLinks`'s `dynamicLinkFromUniversalLinkURL:` method with a new implementation using `dynamicLinkFromUniversalLinkURL:completion:`. This to fix a deprecation warning.

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

* chore: Add CHANGELOG entry

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

* chore: Set Release Version (#23)

Prepare release of `5.0.0-OS11`.
Clean `CHANGELOG`.

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

* RMET-3608 FB Dynamic Links - Update dependency to Firebase Dynamic Links Android SDK (#25)

* feat: feat: use Firebase Android BOM library to set the version of FB Dynamic Links

Context: According to the documentation, this is the recommended way of controlling Firebase library versions. This way, using the Firebase Android BOM, an app with multiple Firebase Android libraries will always use compatible versions of these libraries.

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

* fix: declare Firebase dependencies in build.gradle file

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

* fix: reference build.gradle file in plugin.xml so it is included in the build

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

* chore: remove unnecessary part of build.gradle file

Context: This build.gradle file wasn't even being used before because it wasn't referenced in the plugin.xml. Now, we just want to use it to declare the dependencies for the Firebase Android SDK for Dynamic Links, so we can remove this part.

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

* fix: include postBuildExtras step in Gradle

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

* Revert "fix: include postBuildExtras step in Gradle"

This reverts commit 1fd056b.

* chore: update changelog

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

* chore(release): raise to version 5.0.0-OS12

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

---------

Co-authored-by: Ricardo Silva <97543217+OS-ricardomoreirasilva@users.noreply.github.com>
Co-authored-by: OS-ricardomoreirasilva <ricardo.moreira.silva@outsystems.com>
  • Loading branch information
3 people committed Sep 17, 2024
1 parent 09c2a98 commit dd7d670
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 15 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ 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.

## 5.0.0-OS12

### Features
- Feat: Android | Update dependency to Firebase Dynamic Links Android library (https://outsystemsrd.atlassian.net/browse/RMET-3608).

## 5.0.0-OS11

### Features
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": "cordova-plugin-firebase-dynamiclinks",
"version": "5.0.0-OS11",
"version": "5.0.0-OS12",
"description": "Cordova plugin for Firebase Dynamic Links",
"cordova": {
"id": "cordova-plugin-firebase-dynamiclinks",
Expand Down
6 changes: 2 additions & 4 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-firebase-dynamiclinks"
version="5.0.0-OS11">
version="5.0.0-OS12">

<name>FirebaseDynamicLinksPlugin</name>
<description>Cordova plugin for Firebase Dynamic Links</description>
Expand All @@ -28,8 +28,6 @@ xmlns:android="http://schemas.android.com/apk/res/android"
<hook type="after_prepare" src="hooks/android/androidCopyPreferences.js" />
<hook type="before_plugin_install" src="hooks/android/build_gradle_add_dependency.js" />

<preference name="ANDROID_FIREBASE_DYNAMICLINKS_VERSION" default="20.1.1"/>

<config-file parent="/*" target="res/xml/config.xml">
<preference name="DOMAIN_URI_PREFIX" value="https://$APP_DOMAIN_NAME$APP_DOMAIN_PATH"/>
<feature name="FirebaseDynamicLinks">
Expand All @@ -54,7 +52,7 @@ xmlns:android="http://schemas.android.com/apk/res/android"

<dependency id="cordova-support-android-plugin" version="~1.0.0"/>

<framework src="com.google.firebase:firebase-dynamic-links:$ANDROID_FIREBASE_DYNAMICLINKS_VERSION" />
<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
</platform>

<platform name="ios">
Expand Down
13 changes: 3 additions & 10 deletions src/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,7 @@ buildscript {
}
}

// use postBuildExtras to make sure the plugin is applied after
// cdvPluginPostBuildExtras. Therefore if googleServices is added
// to cdvPluginPostBuildExtras somewhere else, the plugin execution
// will be skipped and project build will be successfull
ext.postBuildExtras = {
if (project.extensions.findByName('googleServices') == null) {
// apply plugin: 'com.google.gms.google-services'
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
}
dependencies {
implementation platform('com.google.firebase:firebase-bom:33.2.0')
implementation("com.google.firebase:firebase-dynamic-links")
}

0 comments on commit dd7d670

Please sign in to comment.