onesignal_flutter 2.3.1

  • Readme
  • Changelog
  • Example
  • Installing
  • 98

OneSignal Flutter SDK Build Status

OneSignal is a free push notification service for mobile apps. This SDK makes it easy to integrate your Flutter iOS and/or Android apps with OneSignal.

alt text

Installation #

See the Setup Guide for setup instructions.

Change Log #

See this repository's release tags for a complete change log of every released version.

Support #

Please visit this repository's Github issue tracker for feature requests and bug reports related specificly to the SDK. For account issues and support please contact OneSignal support from the dashboard.

Demo Project #

To make things easier, we have published a demo project in the /example folder of this repository.

Supports: #

  • Tested from iOS 8 to iOS 13
  • Tested from Android 4.0.3 (API level 15) to Android 9.0 (28)

Please see the release notes page for the full change log


onesignal_example #

Demonstrates how to use the onesignal plugin.

Getting Started #

For help getting started with Flutter, view our online documentation.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  onesignal_flutter: ^2.3.1

2. Install it

You can install packages from the command line:

with Flutter:

$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:onesignal_flutter/onesignal_flutter.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Dec 13, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.0
  • pana: 0.13.1+4
  • Flutter: 1.12.13+hotfix.4

Health suggestions

Fix lib/src/outcome_event.dart. (-0.50 points)

Analysis of lib/src/outcome_event.dart reported 1 hint:

line 38 col 20: Use ; instead of {} for empty constructor bodies.

Format lib/onesignal_flutter.dart.

Run flutter format to format lib/onesignal_flutter.dart.

Format lib/src/defines.dart.

Run flutter format to format lib/src/defines.dart.

Format lib/src/in_app_message.dart.

Run flutter format to format lib/src/in_app_message.dart.

Format lib/src/utils.dart.

Run flutter format to format lib/src/utils.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.28.0 <3.0.0
flutter 0.0.0
Transitive dependencies
collection 1.14.11 1.14.12
meta 1.1.8
sky_engine 0.0.99
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
test ^1.5.1