Skip to content

Commit

Permalink
Merge pull request #41 from urbanairship/fix_release
Browse files Browse the repository at this point in the history
Fix release
  • Loading branch information
crow authored Feb 20, 2020
2 parents 71fad2c + 4c2b686 commit 3a9052f
Show file tree
Hide file tree
Showing 17 changed files with 28 additions and 19 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Version 3.0.0 - February 19, 2020
================================
- Refactored airship.dart to airship_flutter.dart to resolve publish warning. Customers upgrading to 3.0.0 will have to update their plugin imports accordingly, see readme for import instructions.

Version 2.1.0 - February 7, 2020
================================
- Updated iOS SDK to 13.1.0
Expand Down
2 changes: 1 addition & 1 deletion DEV_README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

To update the plugin version, use the update_version script by running the following command at the project root directory:

Replace NEW_VERSION with your semantic version (i.e. 2.1.0):
Replace NEW_VERSION with your semantic version (i.e. 3.0.0):

`./scripts/update_version NEW_VERSION`

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ The Airship Flutter plugin allows using Airship's native iOS and Android APIs wi

```
dependencies:
airship_flutter: ^2.1.0
airship_flutter: ^3.0.0
```

2. Install your flutter package dependencies by running the following in the command line at your project's root directory:
Expand All @@ -20,7 +20,7 @@ $ flutter pub get
3. Import airship into your project:

```
import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';
```

### Android Setup
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package com.airship.flutter

class AirshipPluginVersion {
companion object {
const val AIRSHIP_PLUGIN_VERSION = "2.1.0"
const val AIRSHIP_PLUGIN_VERSION = "3.0.0"
}
}
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import 'package:airship_example/screens/settings.dart';
import 'package:airship_example/screens/message_center.dart';
import 'package:airship_example/screens/message_view.dart';

import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';

// Supported deep links
const String home_deep_link = "home";
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/home.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:airship_example/styles.dart';
import 'package:airship_example/widgets/notifications_enabled_button.dart';
import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';

class Home extends StatefulWidget {
@override
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/message_center.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';
import 'package:airship_example/styles.dart';
import 'package:airship_example/screens/message_view.dart';

Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/message_view.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import 'package:flutter/material.dart';
import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';
import 'package:airship_example/styles.dart';
import 'package:flutter/services.dart';

Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/named_user_add.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:airship_example/styles.dart';
import 'package:airship_example/widgets/text_add_bar.dart';
import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';

class NamedUserAdd extends StatefulWidget {
final updateParent;
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'package:flutter/material.dart';
import 'package:airship_example/screens/tag_add.dart';
import 'package:airship_example/screens/named_user_add.dart';
import 'package:airship_example/styles.dart';
import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';

class Settings extends StatefulWidget {
@override
Expand Down
2 changes: 1 addition & 1 deletion example/lib/screens/tag_add.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
import 'package:airship_example/styles.dart';
import 'package:airship_example/widgets/text_add_bar.dart';
import 'package:airship_flutter/airship.dart';
import 'package:airship_flutter/airship_flutter.dart';

class TagAdd extends StatefulWidget {
final updateParent;
Expand Down
2 changes: 1 addition & 1 deletion ios/Classes/AirshipPluginVersion.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation

class AirshipPluginVersion {
static let pluginVersion = "2.1.0"
static let pluginVersion = "3.0.0"
}
2 changes: 1 addition & 1 deletion ios/airship_flutter.podspec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AIRSHIP_FLUTTER_VERSION="2.1.0"
AIRSHIP_FLUTTER_VERSION="3.0.0"

#
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
Expand Down
2 changes: 1 addition & 1 deletion lib/airship.dart → lib/airship_flutter.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
library airship_flutter;

export 'src/airship.dart';
export 'src/airship_flutter.dart';
export 'src/custom_event.dart';
export 'src/inbox_message_view.dart';
File renamed without changes.
13 changes: 8 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: airship_flutter
description: "The Airship flutter plugin. This package implements a cross-platform plugin interface to Airship's iOS and Android native SDKs. This allows core Airship functionality to be implemented by Flutter apps written in dart. The available core Airship functionality currently includes: push, in-app message, message center, actions, custom events and more."
version: 2.1.0
author: Airship <[email protected]>
version: 3.0.0
homepage: https://www.airship.com/

environment:
sdk: ">=2.1.0 <3.0.0"
flutter: ">=1.7.8 <2.0.0"
flutter: ">=1.10.0 <2.0.0"

dependencies:
flutter:
Expand All @@ -26,8 +25,12 @@ flutter:
# be modified. They are used by the tooling to maintain consistency when
# adding or updating assets for this project.
plugin:
androidPackage: com.airship.flutter
pluginClass: AirshipPlugin
platforms:
android:
package: com.airship.flutter
pluginClass: AirshipPlugin
ios:
pluginClass: AirshipPlugin
# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
Expand Down
2 changes: 2 additions & 0 deletions scripts/run_ci_tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ flutter packages get
# Flutter Analysis
if $ANALYZE; then
flutter analyze
# Perform publish dry run to ensure the package can be published
flutter pub pub publish --dry-run
fi

# Android
Expand Down

0 comments on commit 3a9052f

Please sign in to comment.