Skip to content

Commit de1bde8

Browse files
committed
Merge branch 'feature/example-documentation' into develop
2 parents 335f539 + 3f6b47e commit de1bde8

File tree

4 files changed

+11
-12
lines changed

4 files changed

+11
-12
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.0.3
2+
3+
* Added: Documentation for the example.
4+
15
## 0.0.2
26

37
* Fixed: All the warnings regarding plugin publication.

example/README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
1-
# http_interceptor_example
1+
# OpenWeatherApp
2+
**http_interceptor example**
23

34
Demonstrates how to use the http_interceptor plugin.
45

56
## Getting Started
67

7-
This project is a starting point for a Flutter application.
8+
This app implements the usage of the http_interceptor plugin. It uses the OpenWeatherAPI and intercepts the requests done to add the App Id Key and the unit system desired for the response. Notice that this example is for **show purposes only, it is not intended as a full testable implementation**.
89

9-
A few resources to get you started if this is your first Flutter project:
10-
11-
- [Lab: Write your first Flutter app](https://flutter.io/docs/get-started/codelab)
12-
- [Cookbook: Useful Flutter samples](https://flutter.io/docs/cookbook)
13-
14-
For help getting started with Flutter, view our
15-
[online documentation](https://flutter.io/docs), which offers tutorials,
16-
samples, guidance on mobile development, and a full API reference.
10+
### Running the example
11+
In order to run this example locally you will need to replace the API Key in the `credentials.dart`. You can get your own at https://openweathermap.org/

example/pubspec.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ packages:
5959
path: ".."
6060
relative: true
6161
source: path
62-
version: "0.0.1"
62+
version: "0.0.3"
6363
http_parser:
6464
dependency: transitive
6565
description:

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: http_interceptor
22
description: A Plugin that allows you to intercept request and response objects and modify them if desired.
3-
version: 0.0.1
3+
version: 0.0.3
44
author: Alejandro Ulate (codingalecr) <[email protected]>
55
homepage: https://github.com/CodingAleCR/http_interceptor
66

0 commit comments

Comments
 (0)