1. Point the app to your store
- Unzip the package and open the
affiliate_easy_mobilefolder. - Open
assets/config.jsonand enter your store address and your license key:{ "site_url": "https://mystore.com/", "license_key": "YOUR-FREE-AFFILIATE-EASY-KEY" } - Use the key that is active on that store. You can see it in WordPress → Affiliate Easy → License.
2. Run it on a phone or an emulator
flutter pub get
flutter run
Sign in with a store owner account (WordPress administrator) or an affiliate account.
If the app shows “One step left”,
config.json still has the sample values. If it shows “Can’t connect to the store”, the message under it says what to fix.3. Build for Android
flutter build appbundle # for Google Play
flutter build apk --release # to install directly
Before you publish on Google Play, sign the app with your own upload key, as Flutter’s Android release guide explains.
4. Build for iPhone and iPad
flutter build ipa
Run it on a Mac with Xcode. Open ios/Runner.xcworkspace, choose your team and bundle id under Runner → Signing & Capabilities, then upload the build to App Store Connect.
Change the app name, icon and package id before your first release. See “Your app name, icon and package id” in this category.