I hereby claim:
- I am ologunb on github.
- I am tope_olo (https://keybase.io/tope_olo) on keybase.
- I have a public key ASB1ePNe-h3IUEYWdUARAy3s6Ozaf0uY-AYTgihgz0Cy9Ao
To claim this, I am signing this object:
import 'dart:io'; | |
import 'package:komodo_dex/services/job_service.dart'; | |
import 'package:komodo_dex/services/mm_service.dart'; | |
import 'package:komodo_dex/utils/utils.dart'; | |
class Log { | |
/// Log the [message]. | |
/// The [key] points at the code line location | |
/// (updated automatically with https://github.com/ArtemGr/log-loc-rs). |
import 'dart:io'; | |
import 'package:komodo_dex/services/job_service.dart'; | |
import 'package:komodo_dex/services/mm_service.dart'; | |
import 'package:komodo_dex/utils/utils.dart'; | |
class Log { | |
/// Log the [message]. | |
/// The [key] points at the code line location | |
/// (updated automatically with https://github.com/ArtemGr/log-loc-rs). |
import 'dart:io'; | |
import 'package:komodo_dex/services/job_service.dart'; | |
import 'package:komodo_dex/services/mm_service.dart'; | |
import 'package:komodo_dex/utils/utils.dart'; | |
class Log { | |
/// Log the [message]. | |
/// The [key] points at the code line location | |
/// (updated automatically with https://github.com/ArtemGr/log-loc-rs). |
I hereby claim:
To claim this, I am signing this object:
import 'dart:ui'; | |
import 'package:cached_network_image/cached_network_image.dart'; | |
import 'package:flutter/material.dart'; | |
import 'package:flutterwave_payment/flutterwave_payment.dart'; | |
import 'package:mms_app/app/colors.dart'; | |
import 'package:mms_app/core/models/user_model.dart'; | |
import 'package:mms_app/core/routes/router.dart'; | |
import 'package:mms_app/core/storage/local_storage.dart'; | |
import 'package:mms_app/core/viewmodels/stat_vm.dart'; |
exports.sendToAllUsers = functions.https.onCall(async (snap, context)=>{ | |
const payload = { | |
notification:{ | |
title : 'New Trivia' , | |
body : 'A new Trivia is availble on the app, check now', | |
badge : '1', | |
sound : 'default' | |
}, | |
data: { |
confirmPayment() async { | |
try { | |
setState(() { | |
isLoading = true; | |
}); | |
HttpsCallable callable = | |
FirebaseFunctions.instance.httpsCallable('stripePayment'); | |
var serverData = await callable.call({'amount': 1000}); | |
Logger().d(serverData.data); |
const functions = require("firebase-functions"); | |
const admin = require('firebase-admin'); | |
const axios = require('axios').default; | |
admin.initializeApp(functions.config().functions); | |
// you can test with the key | |
var testKey = | |
'sk_test_51HjsXiD2Y81WySxcSYZQxWqgom4mPTou65NDgdWwJ8PECjIT98CwUU4vyudP4BpSrZDjp4elhfPXcakUcHQia3bg00zX1RDDdo'; | |
//functions.config().stripe.testkey |
exports.requestAgain = functions.https.onCall(async (snap, context)=>{ | |
const payload = { | |
notification:{ | |
title : snap.title , | |
body : snap.body, | |
badge : '1', | |
sound : 'default' | |
}, | |
data: { |
import 'package:hive/hive.dart'; | |
import 'package:hive_flutter/hive_flutter.dart'; | |
import 'package:mms_app/core/models/auth/login_model.dart'; | |
import 'package:mms_app/core/models/auth/register_success_model.dart'; | |
const String kUserBox = 'userBox'; | |
const String profile = 'profile1'; | |
const String isFirst = 'isFirst'; | |
const String useBioKey = 'use-biosdddd'; | |
const String registeredKey = 'registeredKey'; |