Skip to content
This repository was archived by the owner on Oct 5, 2020. It is now read-only.

Commit d6f25a7

Browse files
committed
Updating version
1 parent 1aa46b4 commit d6f25a7

File tree

4 files changed

+22
-18
lines changed

4 files changed

+22
-18
lines changed

CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Chirp SDK Flutter
22

3-
## 0.0.1 - beta
3+
## 0.1.0 - 22/01/19
4+
5+
- Bringing out of experimental status
6+
7+
## 0.0.1 - 22/01/19
48

59
- Initial release using
610
- iOS v3.4.3

README.md

-6
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ Sign up at the Chirp [Developer Hub](https://developers.chirp.io/sign-up)
99
Copy and paste your Chirp app key, secret and chosen configuration into the
1010
[example application](https://github.com/chirp/chirp-connect-flutter/tree/master/chirpsdk/example)
1111

12-
## Configuration
13-
14-
It is recommended to use the example code as a template, but in short, configuring the
15-
SDK is as simple as initialising with your credentials and chosen configuration, and starting
16-
the audio processing.
17-
1812
await ChirpSDK.init(_appKey, _appSecret);
1913
await ChirpSDK.setConfig(_appConfig);
2014
await ChirpSDK.start();

lib/chirpsdk.dart

+14-8
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,18 @@ enum ChirpState {
1414

1515
class ChirpSDK {
1616
static const MethodChannel _methods = const MethodChannel('chirp.io/methods');
17-
static const EventChannel _stateEvents = const EventChannel('chirp.io/events/state');
18-
static const EventChannel _sendingEvents = const EventChannel('chirp.io/events/sending');
19-
static const EventChannel _sentEvents = const EventChannel('chirp.io/events/sent');
20-
static const EventChannel _receivingEvents = const EventChannel('chirp.io/events/receiving');
21-
static const EventChannel _receivedEvents = const EventChannel('chirp.io/events/received');
22-
static const EventChannel _errorEvents = const EventChannel('chirp.io/events/errors');
17+
static const EventChannel _stateEvents =
18+
const EventChannel('chirp.io/events/state');
19+
static const EventChannel _sendingEvents =
20+
const EventChannel('chirp.io/events/sending');
21+
static const EventChannel _sentEvents =
22+
const EventChannel('chirp.io/events/sent');
23+
static const EventChannel _receivingEvents =
24+
const EventChannel('chirp.io/events/receiving');
25+
static const EventChannel _receivedEvents =
26+
const EventChannel('chirp.io/events/received');
27+
static const EventChannel _errorEvents =
28+
const EventChannel('chirp.io/events/errors');
2329

2430
/// Initialise the ChirpSDK
2531
///
@@ -28,7 +34,7 @@ class ChirpSDK {
2834
///
2935
/// [1]: https://developers.chirp.io
3036
static Future<void> init(String key, String secret) async {
31-
var parameters = { 'key': key, 'secret': secret };
37+
var parameters = {'key': key, 'secret': secret};
3238
await _methods.invokeMethod('init', new Map.from(parameters));
3339
}
3440

@@ -140,7 +146,7 @@ class ChirpSDK {
140146
static ChirpStateEvent _stateEvent(dynamic map) {
141147
if (map is Map) {
142148
return new ChirpStateEvent(ChirpState.values[map['previous']],
143-
ChirpState.values[map['current']]);
149+
ChirpState.values[map['current']]);
144150
}
145151
return null;
146152
}

pubspec.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: chirpsdk
2-
description: Send and receive data using sound
3-
version: 0.0.1
2+
version: 0.1.0
3+
description: Chirp enables your apps to send and receive information using sound.
44
author: Asio Ltd <[email protected]>
5-
homepage: https://developers.chirp.io
5+
homepage: https://github.com/chirp/chirp-connect-flutter
66

77
environment:
88
sdk: ">=2.0.0-dev.68.0 <3.0.0"

0 commit comments

Comments
 (0)