Skip to main content

Changelog

A complete release history for Portals for Android is available on GitHub. Documentation for recent releases can also be found below.

0.10.2

patchLatest Production Version

July 3 2024

What's Changed

  • fix: prevent full crash when returning from a system force-quit state (#70)

0.10.1

patch

July 1 2024

What's Changed

  • feat: add overrides for onStart and onStop to pair with the bridge (#68)
  • feat: fragment viewmodel for lifecycle (#66)

0.10.0

minor

April 24 2024

What's Changed

  • feat: Capacitor v6 Update (#60)

0.9.0

minor

March 12 2024

What's Changed

  • feat: support the portals CLI functionality for android serve (#65)

0.8.4

patch

February 13 2024

Portals for Android 0.8.4 introduces support for differential live updates. This feature allows for updating only the changed files in a web asset bundle, reducing the amount of data that needs to be transferred to the device. This should drastically reduce the amount of data used by device to get new versions of the web assets from Appflow.

The feature is enabled by default. If you would like to opt out or are interested in learning more please refer to the upgrade guide.

To upgrade from the previous release please reference the UPGRADE GUIDE.

What's Changed

  • feat: support live updates 0.5.0 and will use portal web app directory as a source for differential updates (#62)
  • fix: fix transaction exception crashing the app if the view no longer exists (#63)
  • chore: updated capacitor dependency to 5.7.+ (#64)

0.8.3

patch

October 13 2023

This release updated Portals to use Capacitor 5.5.X.

What's Changed

  • feat(android): Updates to use Capacitor 5.5.X (#55)

0.8.2

patch

October 13 2023

New Feature for PortalView

PortalView can no take a Portal directly instead of relying on the PortalManager to retrieve the Portal. This is for convenience. You can read more in the docs here

What's Changed

  • Cap version update (#50)
  • feat: added constructor for PortalView that takes a Portal directly (#51)

0.8.1

patch

October 13 2023

New Feature Remove Portal

In this release, we're introducing a new function that empowers users to efficiently remove portals when utilizing the PortalManager for managing their portal instances. This enhancement responds to user requests for the ability to dynamically remove dynamically created portals, helping to maintain a more streamlined map and prevent unnecessary growth. Notably, this feature is designed to preserve live update sessions, ensuring a seamless user experience. Usage info can be found here.

What's Changed

  • feat: remove portal (#48)
  • chore: updated to use Capacitor 5.4.+ versions (#49)

0.8.0

minor

October 13 2023

Pub/Sub system overhaul

This update simplifies the Android pub/sub system for Ionic Portals, addressing the issue of Plugin subscriptions not being properly disposed when a Portal is dismissed. More details on usage can be found here. Key improvements include:

  • Utilizing Capacitor for Event Handling: We now use Capacitor for event publishing, simplifying unsubscribing with provided handles, eliminating the need for arbitrary integers.

  • Introducing PortalsPubSub Class: A new PortalsPubSub class allows scoping events to specific portals, enhancing system organization.

Portals now uses Capacitor 5

This release also moves Portals to Capacitor 5.

Web Vitals moved to a Plugin

And finally we have moved WebVitals into a plugin that can be registered for each Portal. Usage can be found here.

UPGRADE GUIDE.

What's Changed

  • feat!: BREAKING Overhauls to the pub/sub system (#39)
  • feat: capacitor 5 updates (#42)
  • feat!: BREAKING Make WebVitals a Plugin (#45)

0.7.5

patch

October 13 2023

What's Changed

  • chore: update dependencies for Capacitor updates and Live Updates feat (#38)

0.7.4

patch

October 13 2023

What's Changed

  • feat: support configuration files on portal-by-portal basis and within live updates (#35)
  • feat: asset sharing (#34)

0.7.3

patch

October 13 2023

What's Changed

  • feat: Web Vitals support for FCP, FID, TTFB (#28)
  • feat: added jetpack compose support for bridge availability callback (#29)

0.7.2

patch

October 13 2023

What's Changed

  • feat: callback when bridge is created (#26)

0.7.1

patch

October 13 2023

What's Changed

  • fix: remove test class (#23)
  • feat: plugin instance support (#22)

0.7.0

minor

October 13 2023

Release Notes

This release upgrades Portals to use Capacitor 4.

UPGRADE GUIDE

What's Changed

  • feat: Always have an initialContext (#19)
  • feat: update to cap4 and dependency updates (#21)

0.6.4

patch

October 13 2023

What's Changed

  • fix: Allow data on SubscriptionResult to be nullable. (#15)
  • fix: update Capacitor dependency with web asset load flash fix (#16)

0.6.3

patch

October 13 2023

What's Changed

  • chore: update dependency versions to capacitor 3.4.0 and liveupdates 0.1.1 (#12)

0.6.2

patch

October 13 2023

What's Changed

  • fix: added webview destroy call to PortalFragment (#9)

0.6.1

patch

October 13 2023

What's Changed

  • fix: fixed race condition when loading fragment with initialContext (#8)

0.6.0

minor

October 13 2023

What's Changed

  • fix: adds a default config to resolve focus issue for Portals apps (#2)
  • feat: allow an initialContext to be set on PortalFragment (#5)

0.5.1

minor

October 13 2023

What's Changed

  • feat(android): basic jetpack compose support (#1)
To see more releases, visit GitHub.