Skip to content

Commit 50726b4

Browse files
Release: 0.3.0 - Hypertrack SDK 5.4.5. Readme refactoring.
1 parent af0f979 commit 50726b4

File tree

4 files changed

+34
-21
lines changed

4 files changed

+34
-21
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Changelog
2+
3+
## [0.3.0] - 2021-11-17
4+
#### Changed
5+
- Android SDK updated to v5.4.5
6+
17
## [0.2.1] - 2021-07-07
28
#### Changed
39
- No code changes. Package metadata was updated to improve scoring.

README.md

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
1-
# hypertrack_plugin
2-
3-
Plugin for HyperTrack SDK that allows you instantly feed location data in the cloud.
1+
# HyperTrack SDK Flutter plugin
42

53
![GitHub](https://img.shields.io/github/license/hypertrack/sdk-flutter.svg)
64
[![Pub Version](https://img.shields.io/pub/v/hypertrack_plugin?color=blueviolet)](https://pub.dev/packages/hypertrack_plugin)
75
[![iOS SDK](https://img.shields.io/badge/iOS%20SDK-4.7.0-brightgreen.svg)](https://cocoapods.org/pods/HyperTrack)
8-
![Android SDK](https://img.shields.io/badge/Android%20SDK-5.2.5-brightgreen.svg)
9-
10-
### Usage
6+
![Android SDK](https://img.shields.io/badge/Android%20SDK-5.4.5-brightgreen.svg)
117

12-
To use this plugin, add `hypertrack_plugin` as a [dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).
8+
[HyperTrack](https://www.hypertrack.com) lets you add live location tracking to your mobile app in a reliable and battery efficient way.
139

14-
### Example
10+
HyperTrack SDK Flutter plugin is a wrapper around native iOS and Android SDKs that allows to integrate them into Flutter apps.
1511

16-
``` dart
17-
// Import package
18-
import 'package:hypertrack_plugin/hypertrack.dart';
12+
For information about how to get started with HyperTrack SDK for Flutter, please visit this [HyperTrack Guide](https://hypertrack.com/docs/install-sdk-flutter).
1913

20-
// Instantiate it
21-
final sdk = await HyperTrack.initialize(my_publishable_key);
14+
## How to update HyperTrack SDK version?
2215

16+
1. Update SDK constant
2317

24-
// Set device name
25-
sdk.setDeviceName("Elvis");
18+
- android
19+
- android/build.gradle
20+
- implementation 'com.hypertrack:hypertrack:**version**
21+
- ios
22+
- hypertrack_plugin.podspec
23+
- s.dependency 'HyperTrack/Objective-C', '**version**'
2624

27-
// Get device id
28-
final deviceId = await sdk.getDeviceId();
29-
```
25+
2. Increment wrapper version
26+
- pubspec.yaml
27+
- version
3028

31-
Visit https://hypertrack.com/ for more.
29+
3. Update CHANGELOG
30+
4. Update badge in README
31+
5. Commit and create a version tag (without v)
32+
6. Push
33+
7. Create a release
34+
- Release title - version
35+
9. Publish Flutter package
36+
1. flutter pub publish --dry-run
37+
- to test is everything OK with release
38+
2. flutter pub publish

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ android {
4343
disable 'InvalidPackage'
4444
}
4545
dependencies {
46-
implementation 'com.hypertrack:hypertrack:5.2.5'
46+
implementation 'com.hypertrack:hypertrack:5.4.5'
4747
}
4848
}
4949

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: hypertrack_plugin
22
description: Flutter plugin for HyperTrack, a cross-platform location tracking solution for Android and iOS
33
repository: https://github.com/hypertrack/sdk-flutter
4-
version: 0.2.1
4+
version: 0.3.0
55
homepage: https://www.hypertrack.com/
66

77
environment:

0 commit comments

Comments
 (0)