- Open the packages view in XCode
- Add the package using the url
https://github.com/waldoapp/app-sdk
- Choose the single product
WaldoAppSdk
- Start using the SDK
import StoreKit import WaldoAppSdk func showStoreReviewController(windowScene: UIWindowScene) { if isInsideWaldo() { // Don't request AppStore review during UI tests return } SKStoreReviewController.requestReview(in: windowScene) }
Create a tag named X.Y.Z
and push it to the repository. Then create a release on the tag.
export IOS_VERSION=X.Y.Z
git tag $IOS_VERSION
git push origin $IOS_VERSION
gh release create $IOS_VERSION --title "iOS $IOS_VERSION" --notes ""
TODO
Create a tag named android/vX.Y.Z
and push it to the repository. Then create a release on the tag. The CI will publish the maven package to the GitHub package registry.
export ANDROID_VERSION=X.Y.Z
git tag android/v$ANDROID_VERSION
git push origin android/v$ANDROID_VERSION
gh release create android/v$ANDROID_VERSION --title "Android $ANDROID_VERSION" --notes ""