name: star_lock
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
# 版本说明:
# 1.0.18+2024032001:修复同意隐私政策前获取SN
# 1.0.18+2024032002:修复注册页布局错乱;修复第二次才可以删除锁的问题;修改申请权限字符串
# 1.0.18+20240321(2024032101):打包给欧阳测试
# 1.0.20+2024032102:修复Apple Store App Tracking Transparency权限问题
# 1.0.21+2024032801:同为斯凯环境也区分删减版和完整版,通过main_sky_lite.dart/main_sky_full.dart切换
# 1.0.21+2024032802:1、打包斯凯、预发布环境给欧阳测试
# 1.0.22+20240403:1、打包预发布环境给欧阳测试
# 1.0.23+20240406:1、打包预发布环境给欧阳测试
# 1.0.24+20240407:1、打包预发布环境给欧阳测试
# 1.0.25+2024040702:1、打包预发布环境给欧阳测试
# 1.0.26+20240408:打包预发布环境给欧阳测试
# 1.0.27+2024041101:打包提审
# 1.0.27+2024041102:打包预发布环境给田总测试
# 1.0.28+2024041702:打包给欧阳回归测试
# 1.0.27+2024041702 打包星星锁提审华为
# 1.0.27+2024041703 打包星星锁提审ios
# 1.0.27+2024042204 打包星星锁提审ios与 android
# 1.0.28+2024042601 打包星星锁提审华为
# 1.0.29+2024042901 打包给欧阳测试
# 1.0.30+2024043001 打包星星锁提审ios
# 1.0.31+2024050301 打包星星锁提审华为
# 1.0.32+2024051001:打包给欧阳回归测试
# 1.0.33+2024051401:打包给欧阳回归测试
# 1.0.34+2024051402:打包给欧阳回归测试
# 1.0.35+2024051501:打包给欧阳回归测试
# 1.0.36+2024051601:打包给欧阳回归测试
# 1.0.37+2024051701:打包给欧阳回归测试
# 1.0.38+2024051702:打包给欧阳回归测试
# 1.0.39+2024051703:打包给欧阳回归测试
# 1.0.40+2024051704:打包给欧阳回归测试
# 1.0.41+2024051705:打包给公司测试
# 1.0.42+2024051801:打包给欧阳回归测试
# 1.0.43+2024052001:打包给公司测试
# 1.0.44+2024052002:打包给公司测试
# 1.0.45+2024052003:打包给公司测试
# 1.0.46+2024052004:打包给公司测试
# 1.0.47+2024052101:打包给欧阳回归测试
# 1.0.48+2024052201:打包给欧阳回归测试
# 1.0.49+2024052401:xhj UI ,预发布环境
# 1.0.50+2024052701:xhj UI ,预发布环境
# 1.0.51+2024052801:xhj 线上环境,提审
# 1.0.53+2024052803:xhj 线上环境,提审 sky 线上环境提审
# 1.0.53+2024052804:xhj 线上环境,提审 修改鑫锁名字为星星锁
# 1.0.54+2024053001:xhj 线上环境,对外发布,提交测试
# 1.0.56+2024060401:xhj 线上环境,对外发布,提交测试
# 1.0.56+2024060502:xhj 线上环境,对外发布,提交测试
# 1.0.57+2024060702:xhj 线上环境,对外发布,提交测试
# 1.0.58+2024060702:xhj 线上环境,对外发布,提交测试
# 1.0.59+2024060703:xhj 线上环境,对外发布,提交测试
# 1.0.60+2024061101:xhj 线上环境,对外发布,提交测试
# 1.0.60+2024061102:xhj 线上环境,对外发布,提交测试
# 1.0.61+2024061103:xhj 线上环境,对外发布,提交测试:处理华为拒审
# 1.0.62+2024061301:xhj 线上环境,对外发布,提交测试:处理华为拒审
# 1.0.63+2024061302:xhj 线上环境,提交测试:回归 bug
# 1.0.65+2024061801:xhj 线上环境,提交测试:回归 bug
# 1.0.66+2024061802:xhj 线上环境,提交测试:回归 bug
# 1.0.67+2024062501:xhj 线上环境,提交测试:回归 测试部门bug
# 1.0.69+2024070301:xhj 线上环境,提交测试:周常 bug 修复
# 1.0.69+2024070302:xhj 线上环境,提交测试:周常 bug 修复
# 1.0.70+2024072401:xhj 线上环境,提交测试:回归 bug
# 1.0.70+2024072402:xhj 线上环境,提交测试:回归 bug
# 1.0.71+2024072901:xhj 线上环境,提交测试:回归 bug
# 1.0.71+2024072902:xhj 线上环境,提交测试:回归 bug
# 1.0.72+2024080501:xhj 预发布环境,提交测试:回归 bug
# 1.0.73+2024080801:xhj 预发布环境,提交测试:回归 Tapd优2优及测试部门8月8号之前bug
# 1.0.74+2024080901:xhj 预发布环境,提交测试:回归 8月9号之前bug
# 1.0.75+2024081001:锁定版本,上架商城
# 1.0.76+2024081201:锁定版本,上架商城--最新版本
# 1.0.76+2024081201:锁定版本,上架商城--最新版本(SKY上架苹果)
# 1.0.76+2024082001:锁定版本,上架商城(SKY上架国内应用商城)
# 1.0.78+2024082701:测试国际化功能
# 1.0.79+2024083001:测试所有国家国际化功能
# 1.0.79+2024083001:测试开完锁数据上传功能
# 1.0.80+2024091901:添加网关功能给谢敬调试
# 1.0.80+2024091902:网关功能去掉网关通信不够16倍数凑够16倍数功能
# 1.0.80+2024091902:给欧阳打包测试国际化
# 1.0.76+2024082201:vivo被拒 修改构建号重新提交
# 1.0.76+2024081201:锁定版本,上架商城--最新版本
# 1.0.78+2024082701:测试国际化功能
# 1.0.79+2024083001:测试所有国家国际化功能
# 1.0.79+2024083001:测试开完锁数据上传功能
# 1.0.81+2024092901:添加开锁数据收集功能
# 1.0.82+2024093001:优化开锁数据收集功能
# 1.0.85+2024120301:完善网关功能
# 1.0.85+2024120401:修复网关问题,打包给谢敬调试
version: 1.0.85+2025010802
environment:
sdk: '>=2.12.0 <3.0.0'
#fluwx:
# app_id: 'wxbe340095d2b8fd51'
# debug_logging: true
# android:
# ios:
# universal_link: https://lock.skychip.top/apple-app-site-association.json
# Dependencies specify other packages that your package needs in order to work.
# To automatically upgrade your package dependencies to the latest versions
# consider running `flutter pub upgrade --major-versions`. Alternatively,
# dependencies can be manually updated by changing the version numbers below to
# the latest version available on pub.dev. To see which dependencies have newer
# versions available, run `flutter pub outdated`.
dependencies:
flutter:
sdk: flutter
aliyun_face_plugin:
path: aliyun_face_plugin
video_decode_plugin:
git:
url: git@code.star-lock.cn:liyi/video_decode_plugin.git
ref: a451a2288eedfc5a17597680347e77ca5125aacf
flutter_localizations:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.2
# 常用工具类
flustars: ^2.0.1
# 提示
fluttertoast: ^8.2.2
# 状态管理
get: ^4.6.5
# 获取设备信息
device_info_plus: ^8.0.0
# 本地储存
get_storage: ^2.0.3
shared_preferences: ^2.0.15
# 获取唯一设备码
uuid: ^3.0.6
# 屏幕适配
flutter_screenutil: ^5.6.0
# 获取当前项目信息
package_info_plus: ^3.0.2
# 选择日期时间
flutter_cupertino_datetime_picker: ^3.0.0
# 选择原生通讯录
flutter_native_contact_picker: 0.0.7
#底部弹出选择器
flutter_picker: ^2.1.0
#生成二维码
qr_flutter: ^4.1.0
#底部选择
#flutter_pickers: ^2.1.9
#万年历
syncfusion_flutter_datepicker: ^22.1.38
#使用相机及相册
image_picker: ^1.0.4
crop_your_image: ^0.7.5
camera: ^0.10.5+5
path_provider: ^2.1.0
#跳转到外部
url_launcher: ^6.1.10
#蓝牙
# flutter_reactive_ble: ^5.1.1
flutter_blue_plus: 1.33.0
#
event_bus: ^2.0.0
#菊花
flutter_easyloading: 3.0.5
flutter_spinkit: 5.2.1
#图形验证码
# aj_captcha_flutter: ^0.0.1
asn1lib: ^1.6.5
#国家选择
azlistview: ^2.0.0
common_utils: ^2.0.0
lpinyin: ^2.0.3
#加密解密
# encrypt: ^5.0.1
crypto: ^3.0.3
pointycastle: ^3.7.3 # 使用最新版本
date_format: ^2.0.7
# 下拉刷新
easy_refresh: ^3.3.4
#高德地图定位
# amap_flutter_location: 3.0.0
#权限使用
permission_handler: ^11.3.1
# #高德地图地图
# amap_flutter_map: 3.0.0
# 谷歌地图
# google_maps_flutter: ^2.2.5
# geocoding: ^2.1.0
# 允许App发现网络的相关信息并且进行相应的配置
network_info_plus: ^4.0.2
#网络图片缓存
cached_network_image: ^3.2.0
webview_flutter: ^4.5.0
jpush_flutter:
git:
url: git@code.star-lock.cn:StarlockTeam/jpush_flutter.git
ref: 656df9ee91b1ec8b96aa1208a6b0df27a4516067
#视频播放器
video_player: ^2.9.2
#控制横竖屏控件
auto_orientation: ^2.3.1
audioplayers: ^5.2.1
ffi: ^2.1.0
flutter_mjpeg: ^2.0.4
image_gallery_saver: ^2.0.3
convert: ^3.1.1
just_audio: ^0.9.36
# flutter_sound: ^9.2.13
# ffmpeg_kit_flutter: 5.1.0-LTS
fast_gbk: ^1.0.0
flutter_pcm_sound: ^1.1.0
intl: ^0.18.0
# flutter_audio_capture: <1.1.5
flutter_voice_processor: 1.1.1
#监听网络连接状态
connectivity_plus: 6.0.5
#flutter_advanced_calendar: ^1.4.1
timelines: ^0.1.0
#侧滑删除
flutter_slidable: ^3.0.1
# audio_service: ^0.18.12
app_settings: ^6.1.1
flutter_local_notifications: ^17.0.0
fluwx: 4.5.5
system_settings: ^2.0.0
expandable: ^5.0.1
colorfilter_generator: ^0.0.8
file_picker: ^5.3.1
# 错误日志监控
# flutter_bugly_plugin: ^0.0.9
flutter_bugly: ^1.0.2
open_filex: ^4.4.0
jverify: 3.0.0
#
umeng_common_sdk: 1.2.8
#
#
firebase_analytics: 11.3.0
#
# cryptography: ^2.7.0
# asn1lib: ^1.0.0
# fast_rsa: ^3.6.6
protobuf: ^3.1.0
#录屏
#flutter_screen_recording: 2.0.16
#图库保存
gallery_saver: ^2.3.2
fixnum: ^1.1.1
# 图片预览
photo_view: ^0.15.0
provider: ^6.1.2
dio: ^4.0.6 # 网络请求库
video_thumbnail: ^0.5.3
# 角标管理
flutter_app_badger: ^1.3.0
# 滑块支持
slide_to_act: ^2.0.2
dependency_overrides:
#强制设置google_maps_flutter_ios 为 2.5.2
google_maps_flutter_ios: 2.5.2
flutter_plugin_android_lifecycle: 2.0.18
dev_dependencies:
flutter_test:
sdk: flutter
# The "flutter_lints" package below contains a set of recommended lints to
# encourage good coding practices. The lint fset provided by the package is
# activated in the `analysis_options.yaml` file located at the root of your
# package. See that file for information about deactivating specific lint
# rules and activating additional ones.
flutter_lints: ^2.0.0
protoc_plugin: ^21.1.2
# 说明文件在:flavorizr.yaml
flutter_flavorizr: ^2.2.1
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter packages.
flutter:
# The following line ensures that the Material Icons font is
# included with your application, so that you can use the icons in
# the material Icons class.
uses-material-design: true
# To add assets to your application, add an assets section, like this:
assets:
- images/
- images/tabbar/
- images/other/
- images/guide/
- images/main/
- images/main/addFingerprint/
- images/mine/
- images/lockType/
- assets/
- assets/html/h264.html
- assets/html/jmuxer.min.js
- lan/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# For details regarding adding assets from package dependencies, see
# https://flutter.dev/assets-and-images/#from-packages
# To add custom fonts to your application, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts from package dependencies,
# see https://flutter.dev/custom-fonts/#from-packages