- Android Studio Hedgehog but preferably the latest version
- Minimum Android SDK: API 21 or Android 5.0
- Xcode 10.2 but preferably the latest version
- Minimum Target iOS Deployment: iOS 12
In order to run the sample mobile application in both Android and iOS Devices, the project has to be imported in both Android Studio and Xcode. These IDE's will be used to download the required dependencies and the SDK (Android) and Framework (iOS) themselves.
The next set of instructions assume that Flutter and Dart plugins are already downloaded and installed within Android Studio. If not done with that process, follow these steps: https://docs.flutter.dev/get-started/editor?tab=androidstudio
To run on Android Device:
- Open Android Studio and import the project
- In the project build.gradle, fill up the username and password with your GitHub Credentials.
- Ensure that gradle build will be ran in order to download all the necessary dependencies. To set it up: Go to File > Settings > Search for 'Flutter' > In Experiments Section, check all the checkboxes
- After libraries have been downloaded, the app can now be ran on an Android Device or Emulator
To run on iOS Device:
- Open Xcode and import the project
- Download Direct Tap Framework via Swift Package Manager. To integrate, click your project > Package Dependencies, then the '+' button
- On the search bar, enter the URL: https://github.com/brankas/core-sdk-ios. Wait for the repository to be loaded then click Add Package
- Check DirectTap then click on Add Package
- Check if package has already been added as a dependency
- Go to Frameworks, Libraries and Embedded Content and check if the selected framework has been added
- The application can now be run on an iOS Device or Simulator
- For more detailed information on integrating the Android SDK, refer to this: https://github.com/brankas/core-sdk-android
- For more detailed information on integrating the iOS Framework, refer to this: https://github.com/brankas/core-sdk-ios