OpenFlutter / OpenFlutter/tobias

报错 AliPay UrlScheme Not Found 无法启动支付

Open
#168 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Objective-C
Stars
749
Forks
138
Avg merge
1h 8m
Merged PRs (30d)
2

Description

[ERROR:flutter/runtime/dart_vm_initializer.cc(40)] Unhandled Exception: PlatformException(AliPay UrlScheme Not Found, Config AliPay First, null, null)

但是 UrlScheme 在ios项目中已经配置好了,比如 为 testpay113 ,在 pubspec.yaml 中已经设置了:
tobias:
url_scheme: testpay113
ios:
ignore_security: true

plist.info 中也设置ok,在safari浏览器中输入 testpay113:// 也能正常唤起App

不知道还有哪些需要设置的,我是不是漏掉了一些什么

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the PlatformException and compare the pubspec.yaml tob​ias configuration with the iOS plist.info settings for testpay113. Verify the URL scheme works both from Safari and through the plugin's payment flow. Done means the missing configuration or integration step is identified and AliPay can launch without the UrlScheme Not Found error.

Written by the indexing model from the issue text.

Assessment

Tech stack
flutter, ios
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.