Set up firebase for flutter using firebase cli: https://firebase.flutter.dev/docs/overview/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
import 'dart:math' as math; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
class CountdownTimer extends StatefulWidget { | |
@override | |
_CountdownTimerState createState() => _CountdownTimerState(); | |
} | |
class _CountdownTimerState extends State<CountdownTimer> | |
with WidgetsBindingObserver, SingleTickerProviderStateMixin { | |
double countdownTime; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:io'; | |
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
import 'package:image_picker/image_picker.dart'; | |
void main() { | |
runApp(MyApp()); | |
} | |
class MyApp extends StatelessWidget { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BEGIN:VCARD | |
VERSION:3.0 | |
N:Muller;Isabella;;; | |
FN:Isabella Muller | |
ORG:Bubba Gump Shrimp Co. | |
TITLE:Shrimp Man | |
PHOTO;MEDIATYPE=image/gif:http://www.example.com/dir_photos/my_photo.gif | |
TEL;TYPE=work,voice;VALUE=uri:tel:+16829185770 | |
REV:20080424T195243Z | |
END:VCARD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2021, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { |
- Add the dependency https://pub.dev/packages/sms_autofill
- your class must implement the mixi CodeAutoFill mixin
- in initstate you should generate the app Signature and listen for the code
@override
void initState() {
listenForCode();
SmsAutoFill().getAppSignature.then((signature) {
setState(() {
Release hash
C:\Users\Mahesh Jamdade>keytool -exportcert -alias <aliasName> -keystore <PATH> | openssl sha1 -binary | openssl base64
XOQ*****************vReGc=
Before following the below steps generate a key.jks file using this command source
MacOs/Linux
keytool -genkey -v -keystore ~/<path where key needs to be generated>.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
Windows
keytool -genkey -v -keystore c:\Users\USER_NAME\upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload