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 c46249cf
authored
2026-11-06 15:05:57 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
opt
1 parent
61ad6daf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
lib/config/constant.dart
lib/services/dispatcher.dart
lib/config/constant.dart
View file @
c46249c
import
'dart:io'
;
import
'package:appframe/config/env_config.dart'
;
import
'package:appframe/config/env_config.dart'
;
class
Constant
{
class
Constant
{
...
@@ -140,6 +142,7 @@ class Constant {
...
@@ -140,6 +142,7 @@ class Constant {
static
const
String
hasShownCameraAndMicrophoneAndGalleryIntroKey
=
'has_shown_camera_and_microphone_and_gallery_intro'
;
static
const
String
hasShownCameraAndMicrophoneAndGalleryIntroKey
=
'has_shown_camera_and_microphone_and_gallery_intro'
;
/// 测试阶段使用
/// 测试阶段使用
static
const
bool
needIM
=
true
;
/// 是否需要IM推送,暂时控制只在iOS推送
static
final
bool
needIM
=
Platform
.
isIOS
;
static
const
bool
needUpgrade
=
true
;
static
const
bool
needUpgrade
=
true
;
}
}
lib/services/dispatcher.dart
View file @
c46249c
...
@@ -6,8 +6,7 @@ import 'package:appframe/data/models/message/h5_message.dart';
...
@@ -6,8 +6,7 @@ import 'package:appframe/data/models/message/h5_message.dart';
import
'package:appframe/data/models/message/h5_resp.dart'
;
import
'package:appframe/data/models/message/h5_resp.dart'
;
import
'package:appframe/data/repositories/message/upload_cancel_handler.dart'
;
import
'package:appframe/data/repositories/message/upload_cancel_handler.dart'
;
import
'package:appframe/data/repositories/message/upload_start_handler.dart'
;
import
'package:appframe/data/repositories/message/upload_start_handler.dart'
;
import
'package:flutter/cupertino.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/widgets.dart'
;
// 消息处理器抽象类
// 消息处理器抽象类
abstract
class
MessageHandler
{
abstract
class
MessageHandler
{
...
...
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