amplify_auth_cognito_android 0.6.4-rc.1 copy "amplify_auth_cognito_android: ^0.6.4-rc.1" to clipboard
amplify_auth_cognito_android: ^0.6.4-rc.1 copied to clipboard

outdated

The method channel implementation for amplify_auth_cognito on Android

example/lib/main.dart

/*
 * Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License").
 * You may not use this file except in compliance with the License.
 * A copy of the License is located at
 *
 *  http://aws.amazon.com/apache2.0
 *
 * or in the "license" file accompanying this file. This file is distributed
 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
 * express or implied. See the License for the specific language governing
 * permissions and limitations under the License.
 */

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: const Center(
          child: Text(
              'This application serves as a test bed for the Android implementation of the amplify_auth_cognito method channel. Please see the example app in the main amplify_auth_cognito repository for a functional example app.'),
        ),
      ),
    );
  }
}
1
likes
0
pub points
47%
popularity

Publisher

verified publisheraws-amplify.com

The method channel implementation for amplify_auth_cognito on Android

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on amplify_auth_cognito_android