Installation
// To get the library to add the following dependency to your module Gradle file(_app.gradle_):
implementation 'com.github.interswitch-kenya-limited:mobpay:0.5.0'
// Ensure that the jitpack io repository is part of your project*
// By adding it to the root build.gradle
// In the allprojects => repositories section
allprojects {
repositories {
google()
jcenter()
maven { url "https://jitpack.io" }
}
}
# Run this command on your terminal
flutter pub add mobpay
# CocoaPods
# CocoaPods is a dependency manager for Cocoa projects. For usage and installation instructions, visit their website. To integrate Mobpay into your Xcode project using CocoaPods, specify it in your Podfile:
# To get the library to add the following dependency to your podfile:
# pod 'MobpayiOS'
# Then run the following command on the terminal
pod install
# Don't forget to use the .xcworkspace file to open your project in Xcode, instead of the .xcodeproj file, from here on out.
# In the future, to update to the latest version of the SDK, just run:
pod update MobpayiOS
Updated almost 3 years ago