FlutterCountdownTimer icon indicating copy to clipboard operation
FlutterCountdownTimer copied to clipboard

onEnd called before timer ends.

Open marc-walton opened this issue 3 years ago • 2 comments

onEnd ({String `ownerId,String` postId,String photoUrl,String images,String name}) async {

 await  activityFeedRef
       .doc(ownerId)
       .collection("feedItems")
       .doc(postId)
       .set({
     "type": "topBid",
     "username": name,
     "userId": ownerId,
     "userProfileImg": photoUrl,
     "postId": postId,
     "mediaUrl": images,
     "timestamp": timestamp,
     "read": 'false',
   });
   bidsRef.doc(ownerId)
       .collection("userBids")
       .doc(postId)
       .update({
     "hasEnded":true,});
 }

marc-walton avatar Aug 06 '21 01:08 marc-walton

same problem

liuchaowen avatar Aug 16 '21 07:08 liuchaowen

facing same issue

misha-muraly avatar Oct 08 '21 08:10 misha-muraly