devrev_sdk_flutter 2.2.0-beta.2
devrev_sdk_flutter: ^2.2.0-beta.2 copied to clipboard
DevRev SDK, used for integrating DevRev services into your Flutter app.
example/example.md
DevRev SDK for Flutter sample app #
A sample app with use cases for the DevRev SDK for Flutter has been provided as a part of our public repository. To set up and run the sample app:
- Go to the
example
directory:cd example flutter clean rm -rf ios android web linux macos windows flutter create --platforms=android,ios .
- Install the dependencies:
flutter pub get
- To run the Android app open the
android
directory in Android Studio or run the following command:flutter run -d android
- To run the iOS app open the
ios/Runner.xcworkspace
in Xcode for running the iOS app or run the following command:
Additional steps before running the app:flutter run -d ios
- Change the minimum iOS deployment target version to
15.0
. - Go to the
ios
directory and performpod install --repo-update
. - Open
ios/Runner.xcodeproj
in Xcode and selectPackage dependencies -> FlutterGeneratedPluginSwiftPackage -> Package.swift
set iOS version from12
to15
.platforms: [ .iOS("15.0") ]
- Perform
File -> Packages -> Resolve package versions
. - Build and run the app.
- Change the minimum iOS deployment target version to