Add support for Apple Push Notifications to your Patapata app.
This package is a plugin for Patapata that adds support for Apple Push Notifications to your Patapata app. It will automatically integrate with Patapata's RemoteMessaging system and register for push notifications and provide access to APNs tokens.
- Add the dependency to your
pubspec.yaml
file
flutter pub add patapata_apple_push_notifications
- Import the package
import 'package:patapata_apple_push_notifications/patapata_apple_push_notifications.dart';
- Activate the plugin
void main() {
App(
environment: const Environment(),
plugins: [
ApplePushNotificationsPlugin(),
],
)
.run();
}
Check out the CONTRIBUTING guide to get started.