Flutter

Flutter build with CI getting error Program type already present: com.google.common.util.concurrent.ListenableFuture

断了今生、忘了曾经 提交于 2021-02-04 07:50:29
问题 I got some Error when build the flutter in CI/CD, i use alvrme/alpine-android:android-29 as builder. i have try to run it in locally with flutter build apk --split-per-abi its run well Here is my app/build.graddle def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { localPropertiesFile.withReader('UTF-8') { reader -> localProperties.load(reader) } } def flutterRoot = localProperties.getProperty('flutter.sdk')

How to prevent iOS 14 Widget opening app and react to callback

时光毁灭记忆、已成空白 提交于 2021-02-04 07:38:25
问题 So, I already read several blogs, posts, and Apple's own Human Interface Guidelines that iOS 14 Widgets are NOT interactive, BUT: It's possible to pass a short link to the app when pressing on a target. Apple on its own says: "Small Widgets got one single tap target, Medium and Large Widgets got multiple tap targets". OK! Now when you tap on these Targets the app is opening and the Widget is passing that short link to the App. BUT, now my question, where Google says Idk: Can I

The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile

為{幸葍}努か 提交于 2021-02-02 17:57:16
问题 I have submitted many app builds to TestFlight, even yesterday, but today when I tried to submit my app to TestFlight via XCODE I get the following error: ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[ ]' for the key 'com.apple.developer.healthkit.access' in 'Payload/Runner.app

The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile

佐手、 提交于 2021-02-02 17:54:21
问题 I have submitted many app builds to TestFlight, even yesterday, but today when I tried to submit my app to TestFlight via XCODE I get the following error: ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[ ]' for the key 'com.apple.developer.healthkit.access' in 'Payload/Runner.app

The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile

柔情痞子 提交于 2021-02-02 17:53:43
问题 I have submitted many app builds to TestFlight, even yesterday, but today when I tried to submit my app to TestFlight via XCODE I get the following error: ERROR ITMS-90164: "Invalid Code Signing Entitlements. The entitlements in your app bundle signature do not match the ones that are contained in the provisioning profile. According to the provisioning profile, the bundle contains a key value that is not allowed: '[ ]' for the key 'com.apple.developer.healthkit.access' in 'Payload/Runner.app

(13)flutter 自定义路由页面 从A跳转到B 携带一个参数C 点击B的时候 跳转C

廉价感情. 提交于 2021-02-02 14:52:46
import 'package:flutter/material.dart'; import 'button_demo.dart'; import 'floatingactionbutton_demo.dart'; class MaterualCompent extends StatefulWidget { @override _MaterualCompentState createState() => _MaterualCompentState(); } class _MaterualCompentState extends State<MaterualCompent> { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("Material Compeonents"), elevation: 0.0, ), body: ListView( children: [ ListItem( tilte: "FloatingActionButton", page: FloatingActionButtonDemo(), ), ListItem( tilte: "Button", page: ButtonDemo(), ) ], ), ); } }

(16)Flutter PopupMenuItem

独自空忆成欢 提交于 2021-02-02 14:52:15
效果 点击弹出按钮并可以选中 源码 import 'package:flutter/material.dart'; class PupupMenuDemo extends StatefulWidget { @override _PupupMenuDemoState createState() => _PupupMenuDemoState(); } class _PupupMenuDemoState extends State<PupupMenuDemo> { String _currentMenuItem = "Home"; @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text("PopupMenu"), elevation: 0.0, ), body: Container( padding: EdgeInsets.all(16.0), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ Row( mainAxisAlignment: MainAxisAlignment.center, children: [ Text(_currentMenuItem),

how to fix it Data not showing in list in flutter

眉间皱痕 提交于 2021-02-02 10:00:56
问题 I want to show a list of data to parse the JSON, I have written all the codes but data not show in listview I don't understand what is the mistake in my code. I am sharing my codes.plz suggest to me This is JSON which I have parsed [ { "customer_name": "ridge_valley, Ridge Valley School", "mobile": "9796005602", "product_id": "47265", "imei": "868004027863425", "serial_no": "2016172679", "name": "L-100 [2G] ", "id": "36", "complain_no": "11212", "complain_id": "CMP/160720/11211", "fault":

Ordering data does not actually order anything

浪尽此生 提交于 2021-02-02 09:14:12
问题 I'm trying to get a dataset of messages out of my firebase database and want the messages sorted by added/timestamp. But for some reason no orderby I put in the code is actually used. I tried doing these 2 things. _messagesRef = FirebaseDatabase.instance.reference().child('messages/'+key); _membersSubscription = _messagesRef .orderByChild('timestamp') .onValue//On valuechange .listen((Event event) => _messagesSubscriptionCallback(event)); _messagesRef = FirebaseDatabase.instance.reference()

Ordering data does not actually order anything

久未见 提交于 2021-02-02 09:13:21
问题 I'm trying to get a dataset of messages out of my firebase database and want the messages sorted by added/timestamp. But for some reason no orderby I put in the code is actually used. I tried doing these 2 things. _messagesRef = FirebaseDatabase.instance.reference().child('messages/'+key); _membersSubscription = _messagesRef .orderByChild('timestamp') .onValue//On valuechange .listen((Event event) => _messagesSubscriptionCallback(event)); _messagesRef = FirebaseDatabase.instance.reference()