trainman_booking_sdk 0.0.5 copy "trainman_booking_sdk: ^0.0.5" to clipboard
trainman_booking_sdk: ^0.0.5 copied to clipboard

outdated

A train ticket booking SDK powered by trainman.

Trainman Booking Sdk #

Steps which need to follow while integrating this booking sdk in flutter #

  1. While using this sdk first need to add plugin in pubspec.yaml within dependencies section dependencies: flutter: sdk: flutter #trainman_booking_sdk: ^0.0.3# you can also use by using command flutter pub add trainman_booking_sdk

  2. Create object of Booking SDK like:- InitiateTmBookingSdk() OR
    void main() {runApp(const InitiateTmBookingSdk()); }

    this will automatically invokes Trainman Booking Sdk .

  3. After invocation of Booking sdk first there is a login screen. if you wants to continue using login It requires client id, client secret, client_token and all this credentials will be provided by Trainman side for Both Debug and Prod Environment.

  4. Also for Android Make sure you have added Internet permission <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> </manifest>

0
likes
0
points
310
downloads

Publisher

verified publishertrainman.in

Weekly Downloads

A train ticket booking SDK powered by trainman.

Homepage

License

unknown (license)

Dependencies

flutter, flutter_inappwebview, fluttertoast, http, url_launcher

More

Packages that depend on trainman_booking_sdk