fix(iap): open external app for payment (#2465)

This commit is contained in:
Huang Xin 2025-11-18 16:37:43 +05:30 committed by GitHub
parent bfac67d3f0
commit 6d5b16ea8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 179 additions and 4 deletions

View file

@ -149,6 +149,14 @@ pub(crate) async fn get_external_sdcard_path<R: Runtime>(
app.native_bridge().get_external_sdcard_path()
}
#[command]
pub(crate) async fn open_external_url<R: Runtime>(
app: AppHandle<R>,
payload: OpenExternalUrlRequest,
) -> Result<OpenExternalUrlResponse> {
app.native_bridge().open_external_url(payload)
}
#[command]
pub(crate) async fn request_manage_storage_permission<R: Runtime>(
app: AppHandle<R>,