安卓部分修改更新
This commit is contained in:
parent
8e57e6e459
commit
f435186ca2
@ -52,7 +52,7 @@ android {
|
|||||||
defaultConfig {
|
defaultConfig {
|
||||||
|
|
||||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||||
applicationId "com.example.star_lock"
|
applicationId "cn.starlock.lock"
|
||||||
// You can update the following values to match your application needs.
|
// You can update the following values to match your application needs.
|
||||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
|
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
|
||||||
// minSdkVersion flutter.minSdkVersion
|
// minSdkVersion flutter.minSdkVersion
|
||||||
|
|||||||
@ -33,7 +33,7 @@
|
|||||||
<!-- <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />-->
|
<!-- <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />-->
|
||||||
|
|
||||||
<!--允许写设备缓存,用于问题排查-->
|
<!--允许写设备缓存,用于问题排查-->
|
||||||
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
|
<!-- <uses-permission android:name="android.permission.WRITE_SETTINGS" />-->
|
||||||
|
|
||||||
<!--允许写入扩展存储,用于写入缓存定位数据-->
|
<!--允许写入扩展存储,用于写入缓存定位数据-->
|
||||||
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
||||||
@ -82,20 +82,19 @@
|
|||||||
<!-- 请填写你自己的- appKey -->
|
<!-- 请填写你自己的- appKey -->
|
||||||
<meta-data android:name="com.alibaba.app.appkey" android:value="333904040"/>
|
<meta-data android:name="com.alibaba.app.appkey" android:value="333904040"/>
|
||||||
<!-- 请填写你自己的appSecret -->
|
<!-- 请填写你自己的appSecret -->
|
||||||
<meta-data android:name="com.alibaba.app.appsecret" android:value="c316965fe0a74fc9a481a5c44a535dc2"/>
|
<meta-data android:name="com.alibaba.app.appsecret" android:value="c316965fe0a74fc9a481a5c44a535dc2"/>
|
||||||
|
<receiver
|
||||||
|
android:name="com.example.star_lock.MyMessageReceiver"
|
||||||
|
android:exported="false" > <!-- 为保证receiver安全,建议设置不可导出,如需对其他应用开放可通过android:permission进行限制 -->
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="com.alibaba.push2.action.NOTIFICATION_OPENED" />
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="com.alibaba.push2.action.NOTIFICATION_REMOVED" />
|
||||||
|
</intent-filter>
|
||||||
|
<intent-filter>
|
||||||
|
<action android:name="com.alibaba.sdk.android.push.RECEIVE" />
|
||||||
|
</intent-filter>
|
||||||
|
</receiver>
|
||||||
</application>
|
</application>
|
||||||
<!-- 消息接收监听器 (用户可自主扩展) -->
|
|
||||||
<receiver
|
|
||||||
android:name="com.example.star_lock.MyMessageReceiver"
|
|
||||||
android:exported="false" > <!-- 为保证receiver安全,建议设置不可导出,如需对其他应用开放可通过android:permission进行限制 -->
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="com.alibaba.push2.action.NOTIFICATION_OPENED" />
|
|
||||||
</intent-filter>
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="com.alibaba.push2.action.NOTIFICATION_REMOVED" />
|
|
||||||
</intent-filter>
|
|
||||||
<intent-filter>
|
|
||||||
<action android:name="com.alibaba.sdk.android.push.RECEIVE" />
|
|
||||||
</intent-filter>
|
|
||||||
</receiver>
|
|
||||||
</manifest>
|
</manifest>
|
||||||
|
|||||||
@ -1,4 +1,3 @@
|
|||||||
import 'package:star_lock/main/lockDetail/lcokSet/basicInformation/basicInformation/KeyDetailEntity.dart';
|
|
||||||
import 'package:star_lock/network/api.dart';
|
import 'package:star_lock/network/api.dart';
|
||||||
|
|
||||||
class XSConstantMacro {
|
class XSConstantMacro {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user