Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit e1c4d9b1
authored
2026-08-11 12:27:42 +0800
by
ethanlamzs
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'feature-2607-iosbuild-ext-new' into feature-2607-iosbuild-ext
2 parents
1d8c2b03
64002d44
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
lib/main.dart
lib/services/subscription_service_ios.dart
pubspec.yaml
lib/main.dart
View file @
e1c4d9b
...
...
@@ -10,7 +10,7 @@ import 'package:flutter/material.dart';
import
'package:flutter/services.dart'
;
import
'package:package_info_plus/package_info_plus.dart'
;
import
'package:shared_preferences/shared_preferences.dart'
;
import
'package:appframe/services/subscription_service_ios.dart'
;
import
'app.dart'
;
void
main
(
)
async
{
...
...
@@ -21,6 +21,11 @@ void main() async {
await
_initH5Version
();
await
_initIOSGesture
();
if
(
Platform
.
isIOS
){
SubscriptionService
_subService
=
SubscriptionService
();
_subService
.
initialize
();
}
runApp
(
const
App
());
}
...
...
lib/services/subscription_service_ios.dart
View file @
e1c4d9b
This diff is collapsed.
Click to expand it.
pubspec.yaml
View file @
e1c4d9b
name
:
appframe
description
:
"
app
frame
project."
publish_to
:
'
none'
version
:
1.1.
2
version
:
1.1.
4
environment
:
sdk
:
"
>=3.5.0
<4.0.0"
...
...
@@ -62,7 +62,7 @@ dependencies:
# --- Apple 登录 ---
sign_in_with_apple
:
^7.0.1
in_app_purchase
:
^3.2.
0
# 使用最新稳定版
in_app_purchase
:
^3.2.
3
# 使用最新稳定版
http
:
^1.2.0
# 用于服务端验证
# --- 音视频与直播 (重灾区) ---
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment