mobile_protect 27.0.0
mobile_protect: ^27.0.0 copied to clipboard
Data Theorem's Mobile Protect SDK for mobile Flutter applications
mobile_protect #
Flutter Plugin for Mobile Protect SDK.
Getting Started #
The project contains an example project for iOS and Android that
depends on this flutter plugin. To get started run flutter run from
the example folder.
Making a Release #
Update and commit the following files and contents:
pubspec.yamlversion: 26.2.1ios/mobile_protect/Package.swift(optional).package(url: "https://mobile-protect-repos.securetheorem.com/mobileprotect-ios", from: "26.2.1"),CHANGELOG.md
It is recommended to run:
flutter pub publish --dry-run
Locally before merging the PR with the version changes to anticipate any warnings that might prevent deployment later on. Once it passes the PR can be merged.
Publishing a new version to pub.dev is done via Bitbucket pipelines, triggered by tags. Steps:
- Trigger a release-candidate build by tagging the release branch with a tag of the form
*.*.*-rc*, for example26.2.1-rc1. - The Bitbucket pipeline will produce an artifact in the second step of the pipeline, which should be downloaded and tested against an app.
- Sanity check the output of the last step of the pipeline, which does a
flutter pub publish --dry-run. - If the release candidate is satisfactory, tag the release branch with a production tag of the form
v*.*.*, for examplev26.2.1.- The Bitbucket pipeline will produce a build artifact and publish to pub.dev.