当前位置:网站首页>Flutter automatically disappears after receiving push
Flutter automatically disappears after receiving push
2022-06-25 12:41:00 【Bright like water】
Preface
lately flutter Push the project , Found a strange problem , After receiving the push, it will display , But then it disappeared .
Solution
/// remove app Corner marker
removeAppBadge() async {
final bool isSupported = await FlutterAppBadger.isAppBadgeSupported();
if (isSupported) {
if (Platform.isAndroid) {
FlutterAppBadger.removeBadge();
} else {
FlutterAppBadger.updateBadgeCount(-1);
}
}
}
END.
边栏推荐
- Write regular isosceles triangle and inverse isosceles triangle with for loop in JS
- ECSHOP whole site custom URL supports directory type
- JS array length is defined
- Image tagging to obtain the coordinates of the image in the ImageView
- PHP replaces the key of a two-dimensional array with a specified element value
- Jeecgboot startup popup configuration is still incorrect
- The R language uses the follow up The plot function visualizes the longitudinal follow-up map of multiple ID (case) monitoring indicators, and uses stress The type parameter specifies the line type of
- Summary of common MySQL database commands (from my own view)
- Wait for the end of the network request in the uniapp Onshow method before executing the subsequent code content
- Concise H5 error page
猜你喜欢

(2) Pyqt5 tutorial -- > using qtdesigner to separate interface code

MySQL common interview questions

Draw the satellite sky map according to the azimuth and elevation of the satellite (QT Implementation)

Matlab simulation of m-sequence

(4) Pyqt5 tutorial -- > Custom signal and slot (super winding...)

Penetration tool environment -- use of cknife Chinese kitchen knife

ECSHOP commodity wholesale multi attribute multi specification multi inventory batch purchase ECSHOP wholesale plug-in ECSHOP multi attribute order

Zhangxiaobai's road of penetration (VI) -- the idea and process of SQL injection and the concat series functions and information of SQL_ Schema database explanation

MySQL and excel tables importing database data (Excel for MySQL)

Embedded software development written examination and interview notes (latest update: February 17, 2022)
随机推荐
Go from 0 to 1. Obtain the installation package, get, post request, params, body and other parameters
2022 meisai D topic ideas sharing + translation
Figure explanation of fiborache sequence
What is the primordial universe
ECSHOP commodity page multi-attribute batch purchase plug-ins ECSHOP wholesale plug-ins multi-attribute order placing, multi-attribute batch purchase of commodities
STM32 stores float data in flash
JS array length is defined
R language uses the scale function to scale the input data of neural network to the minimum and maximum, scale the data to between 0 and 1, and divide the data set into training set and test set
按权重随机选择[前缀和+二分+随机target]
QT TCP UDP network communication < theory >
Today, I will explain to you what is DFI and its development prospects
Slice() and slice() methods of arrays in JS
ECSHOP quickly purchases goods, simplifies the shopping process, and improves the user experience through one-step shopping
Swagger document generated by node project API in vscode
Wechat forbids sharing
三入职场!你可以从我身上学到这些(附毕业Vlog)
A commonly used statistical modeling method -- difference analysis
Ten commandments of self-learning in machine learning
Zhangxiaobai's road of penetration (VI) -- the idea and process of SQL injection and the concat series functions and information of SQL_ Schema database explanation
The whole page turns gray