nuntio_hera 0.1.0 nuntio_hera: ^0.1.0 copied to clipboard
Nuntio Hera auth system
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:nuntio_hera/hera/hera.dart';
import 'package:nuntio_hera/hera_app/hera_app.dart';
import 'package:nuntio_core/models/hera.pb.dart';
import 'home/home.dart';
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await Hera.initialize(
//apiUrl: 'http://localhost:9001',
//credentials: NoTransportCredentials(),
apiUrl: 'https://fr-par-1.nuntio.cloud:443',
//credentials: NoTransportCredentials(),
redirectUrl: "http://localhost:8080/callback",
namespace: 'eba0b089-4da7-472b-a1ba-7f986b026ba5',
);
runApp(
Theme(
data: ThemeData(),
child: HeraApp(
child: Home(),
),
),
);
}