upi_intent_cred 💸

A patched fork of upi_intent by Yash Dodani, published as a standalone package with the original author's MIT license.

pub.dev license: MIT platform


Changes in this fork

Change Details
✅ CRED detection on iOS Added credpay://upi scheme probe
✅ Google Pay scheme fix on iOS Changed gpay:// to gpay://upi for reliable detection
✅ Swift Package Manager support Added Package.swift alongside existing CocoaPods support

iOS setup — required schemes

Add these to your app's Info.plist under LSApplicationQueriesSchemes:

<key>LSApplicationQueriesSchemes</key>
<array>
  <string>gpay</string>
  <string>phonepe</string>
  <string>paytmmp</string>
  <string>credpay</string>
  <string>bhim</string>
  <string>amazonpay</string>
  <string>amznmobile</string>
  <string>upi</string>
</array>

Android setup — required

See the original package's Android setup for the <queries> block.


Usage

Identical to upi_intent. Replace the import:

import 'package:upi_intent_cred/upi_intent.dart';

All APIs (UpiIntent.pay, UpiIntent.getInstalledApps, UpiPayment, UpiResponse, UpiValidator) are unchanged.


Installation

dependencies:
  upi_intent_cred: ^1.0.1

License

MIT — see LICENSE.
Original work: Copyright (c) 2026 Dodani Yash.
Modifications: Copyright (c) 2026 Eishal Cyril.


Credits

Built on top of upi_intent by Yash Dodani. Patches contributed back where possible.