Skip to main content

portal_flutter_ios 2.1.0 copy "portal_flutter_ios: ^2.1.0" to clipboard
portal_flutter_ios: ^2.1.0 copied to clipboard

PlatformiOS

iOS implementation of the portal_flutter plugin

portal_flutter_ios #

iOS implementation of the portal_flutter plugin.

See the main package portal_flutter for documentation.

Native dependency setup #

This package depends on PortalSwift, which is distributed via GitHub rather than the CocoaPods trunk. How you get it depends on which Apple dependency manager Flutter uses for your app.

Swift Package Manager (default on Flutter 3.44+) #

Nothing to do. PortalSwift is declared in ios/portal_flutter_ios/Package.swift and resolved straight from its git URL.

On Flutter versions before 3.44, enable SPM first:

flutter config --enable-swift-package-manager

CocoaPods (Flutter before 3.44, or SPM disabled) #

PortalSwift cannot be resolved from the trunk, so add it to your app's ios/Podfile yourself:

pod 'PortalSwift', :git => 'https://github.com/portal-hq/PortalSwift.git', :tag => '8.1.0'

The tag must match the PortalSwift version in portal_flutter_ios.podspec. PortalSwift ships its own podspec whose version tracks the tag, so a mismatched tag is an unsatisfiable constraint: pod install fails outright rather than the build failing later.

0
likes
140
points
1.15k
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

iOS implementation of the portal_flutter plugin

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on portal_flutter_ios

Packages that implement portal_flutter_ios