Skip to content

0.8.0

Compare
Choose a tag to compare
@carlpoole carlpoole released this 13 Oct 16:21
e1769d4

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

Full Changelog: https://github.com/ionic-team/ionic-portals-android/commits/0.8.0