To run tests, you can use fvm:
fvm flutter test- Replace the
api_keyinrevenuecat_examples/purchase_tester/lib/main.dartwith the api key with the sample app to test:
sed -i.bck s/api_key/$API_KEY/ revenuecat_examples/purchase_tester/integration_test/app_test.dart- Open Xcode project inside
revenuecat_examples/purchase_tester/iosand changes made to the plugin should be automatically reflected. - When updating iOS dependency, make sure to run
pod installinsiderevenuecat_examples/purchase_tester/ios/.