Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RMET-3477 :: OutSystems Wrapper :: Add OneSignal Plugin Manager #35

Merged
merged 7 commits into from
Jun 21, 2024

Conversation

OS-martacarlos
Copy link

Description

This PR adds code that until now only existed in the OutSystems Wrapper. This means:

  • O11 code, still using RequireJS
    • This isn't the focus of this PR, as it's code that hasn't had any alterations
  • New version of OneSignal Manager as an UMD modules >> This is the most important part to review
    • Adds unit testing for the new module version

Context

https://outsystemsrd.atlassian.net/browse/RMET-3477

Type of changes

  • Fix (non-breaking change which fixes an issue)
  • Feature (non-breaking change which adds functionality)
  • Refactor (cosmetic changes)
  • Breaking change (change that would cause existing functionality to not work as expected)

Platforms affected

  • Android
  • iOS
  • JavaScript

Tests

As we're not admins of this repo, SonarCloud is not yet configured. As to not block the task, here are the unit tests results:
Screenshot 2024-06-19 at 11 39 49

Checklist

  • Pull request title follows the format RNMT-XXXX <title>
  • Code follows the code style of this project
  • CHANGELOG.md file is correctly updated
  • Changes require an update to the documentation
    • Documentation has been updated accordingly

@OS-martacarlos OS-martacarlos self-assigned this Jun 19, 2024
@OS-martacarlos OS-martacarlos requested a review from a team as a code owner June 19, 2024 10:45
@OS-martacarlos OS-martacarlos requested review from ItsChaceD, IT-MikeS, alexgerardojacinto and OS-ricardomoreirasilva and removed request for a team June 19, 2024 10:45
@OS-martacarlos OS-martacarlos marked this pull request as draft June 19, 2024 10:47
- having the object creation was leading to bugs on the OutSystems side, as it wasn't a singleton, new instances of the object kept being created
- fixes unit tests accordingly

https://outsystemsrd.atlassian.net/browse/RMET-3477
@OS-martacarlos OS-martacarlos marked this pull request as ready for review June 20, 2024 13:24
@OS-martacarlos OS-martacarlos force-pushed the feat/RMET-3477/adds-manager branch 3 times, most recently from 6b41192 to a8919f0 Compare June 21, 2024 08:12
@OS-martacarlos OS-martacarlos force-pushed the feat/RMET-3477/adds-manager branch from a8919f0 to 5d9efc8 Compare June 21, 2024 08:19
Copy link

sonarcloud bot commented Jun 21, 2024

@OS-martacarlos OS-martacarlos merged commit 83b97a3 into development Jun 21, 2024
5 checks passed
alexgerardojacinto added a commit that referenced this pull request Sep 17, 2024
* RMET-3477 :: OutSystems Wrapper :: Add OneSignal Plugin Manager (#35)

- adds code specific to outsystems lifecycle aka one signal plugin manager
- adds the code that will be in outsystems wrapper's javascript nodes
- add sonar cloud integration for typescript files

https://outsystemsrd.atlassian.net/browse/RMET-3477

* RMET-3608 OneSignal-Cordova-SDK - Update dependency to FCM Android SDK (#36)

* feat: update FB Messaging Android library

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

* feat: use Firebase BOM to get FB Cloud Messaging lib

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

* Revert "feat: use Firebase BOM to get FB Cloud Messaging lib"

This reverts commit a3e6be3.

* fix: add necessary Firebase library for OneSignal to work with latest version of Cloud Messaging

Context: https://firebase.google.com/support/release-notes/android?_gl=1*d5zec9*_up*MQ..*_ga*OTY5NjA2OTg5LjE3MjYwNTUwMDE.*_ga_CW55HF8NVT*MTcyNjA1NTAwMS4xLjAuMTcyNjA1NTAwMS4wLjAuMA..#messaging_v22-0-0

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

* chore: update changelog

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

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

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

---------

Co-authored-by: Marta Carlos <[email protected]>
@alexgerardojacinto alexgerardojacinto deleted the feat/RMET-3477/adds-manager branch September 17, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants