Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@collinjackson
Copy link
Contributor

@collinjackson collinjackson commented Jul 8, 2019

Includes a test for #1756 (crash on Android calling deleteInstanceId)

@collinjackson collinjackson requested a review from kroikie as a code owner July 8, 2019 15:16
@collinjackson collinjackson requested a review from cyanglaz July 8, 2019 15:17
@collinjackson collinjackson changed the title More firebase_messaging integration tests [firebase_messaging] more integration tests Jul 8, 2019
@collinjackson collinjackson changed the title [firebase_messaging] more integration tests [firebase_messaging] add integration tests Jul 8, 2019
Copy link
Contributor

@cyanglaz cyanglaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LTGM, with some nits.

@@ -1,3 +1,7 @@
## 4.0.0+4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably should be 4.0.1 since post 1.0.0.

Suggested change
## 4.0.0+4
## 4.0.1

author: Flutter Team <[email protected]>
homepage: https://github.com/flutter/plugins/tree/master/packages/firebase_messaging
version: 4.0.0+3
version: 4.0.0+4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nits:

Suggested change
version: 4.0.0+4
version: 4.0.1

});

test('subscribeToTopic', () async {
firebaseMessaging.subscribeToTopic('foo');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some idea, doesn't need to be in this PR. Maybe we can make subscribeToTopic and unsubscribeFromTopic to return a Future to indicate the invocation to the platform is happened correctly. That'd make the integration test easier.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree, and will update in a subsequent PR

@collinjackson collinjackson merged commit 8f849c8 into flutter:master Jul 8, 2019
mithun-mondal pushed a commit to bKash-developer/archived_plugins that referenced this pull request Aug 6, 2019
* Initial firebase_messaging integration tests
julianscheel pushed a commit to jusst-engineering/plugins that referenced this pull request Mar 11, 2020
* Initial firebase_messaging integration tests
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants