apple_push_notification_service 0.0.2
apple_push_notification_service: ^0.0.2 copied to clipboard
This plugin allows you to register and receieve push notification on iOS
example/lib/main.dart
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:apple_push_notification_service/apple_push_notification_service.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: Text('Content'),
),
),
);
}
}