Skip to content

Commit

Permalink
Merge branch 'main' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
Edu committed Nov 30, 2024
2 parents e4300bd + 7957beb commit e99828e
Show file tree
Hide file tree
Showing 97 changed files with 2,363 additions and 1,607 deletions.
3 changes: 3 additions & 0 deletions .fvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"flutter": "3.10.6"
}
27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
name: Bug report
about: Something is crashing or not working as intended
labels: bug

---

## Environment

**Platform:** <!-- iOS, Android, Web, etc -->
**Device information:** <!-- Manufacturer and model -->

## Description

**Expected behavior:**

**Current behavior:**

## Steps to reproduce

1. This
2. Than that
3. Then

## Images <!-- if available, else delete -->

## Stacktrace/Logcat <!-- if available, else delete -->
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature request
about: Suggest an idea for this project
labels: enhancement

---

## Environment

**Platform:** <!-- iOS, Android, etc -->
**Device information:** <!-- Manufacturer and model -->

## Description

**What you'd like to happen:**

**Alternatives you've considered:** <!-- if available, else delete -->

**Images:** <!-- if available, else delete -->
24 changes: 24 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Connection with issue(s)

Resolve issue #???

<!-- Required: this reference (one or many) will be closed upon merge. Ideally it has the acceptance criteria and designs for features or fixes related to the work in this Pull Request -->

Connected to #???

<!-- Optional: other issues or pull requests related to this, but merging should not close it -->

## Testing and Review Notes

<!-- Required: steps to take to confirm this works as expected or other guidance for code, UX, and any other reviewers -->

## Screenshots or Videos

<!-- Optional: to clearly demonstrate the feature or fix to help with testing and reviews -->

## To Do

<!-- Add “WIP” to the PR title if pushing up but not complete nor ready for review -->
- [ ] double check the original issue to confirm it is fully satisfied
- [ ] add testing notes and screenshots in PR description to help guide reviewers
- [ ] request the "UX" team perform a design review (if/when applicable)
67 changes: 67 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Build

on:
push:
branches: [main]
tags:
- '[0-9]+.[0-9]+.[0-9]+*'

pull_request:
branches: [main]

workflow_dispatch:

jobs:
build:
name: Build and test
runs-on: macos-latest

steps:
- name: Configure enviroment
uses: actions/checkout@v3
- name: Check broken links
uses: JustinBeckwith/linkinator-action@v1
with:
paths: "**/*.md"
linksToSkip: "https://developer.android.com/build/multidex"
- uses: kuhnroyal/flutter-fvm-config-action@v2
id: fvm-config-action
with:
path: '.fvmrc'
- name: Download flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ steps.fvm-config-action.outputs.FLUTTER_VERSION }}
cache: true
cache-key: 'flutter-:os:-:version:'
cache-path: '${{ runner.tool_cache }}/flutter/:os:-:version:'
- name: Install dependencies
run: flutter pub get
- name: Format code
run: dart format --set-exit-if-changed .
- name: Analyze static code
run: flutter analyze
- name: Check publish warnings
run: dart pub publish --dry-run

# Disabled until unblock release process
# deployment:
# if: ${{ github.ref_type == 'tag' }}
# needs: build
# name: Deploy package
# permissions:
# id-token: write
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - uses: dart-lang/setup-dart@v1
# - uses: kuhnroyal/flutter-fvm-config-action@v1
# - name: Download flutter
# uses: subosito/flutter-action@v2
# with:
# flutter-version: ${{ env.FLUTTER_VERSION }}
# cache: true
# cache-key: 'flutter-:os:-:version:'
# cache-path: '${{ runner.tool_cache }}/flutter/:os:-:version:'
# - name: Publish package
# run: dart pub publish -v -f
9 changes: 8 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
.vscode/

# Flutter/Dart/Pub related
**/doc/api/
Expand All @@ -43,3 +43,10 @@ app.*.map.json

# Exceptions to above rules.
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

# Firebase
example/android/app/google-services.json
example/ios/Runner/GoogleService-Info.plist

# FVM Version Cache
.fvm/
73 changes: 71 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,72 @@
## [0.0.1] - TODO: Add release date.
## 6.0.0

* TODO: Describe initial release.
* BREAKING CHANGES
* Rename package from `common_module_flutter` to `osam_common_module_flutter`
* To import, use only `import 'package:osam_common_module_flutter/osam_common_module_flutter.dart';` and not src/ or other subdirectories.
* Need to use minimal Dart SDK version 3.0.0
* Need to use minimal Flutter version 3.10.0

## 5.1.0

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to version 2.1.8. Only for Android.
* Improve linting.
* Refactor package to pub dev standards.
* Refactor documentation.
* Add GitHub templates.

## 5.0.4

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to version 2.1.7.

## 5.0.0

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to
version 2.0.16. Updated to version 5.0.0 of modul_comu_osam_flutter, it has flutter 3.X support.

## 4.0.2

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to
version 2.0.2. This version has the following changes:
* Version: Fix bug related to URL handling

## 4.0.1

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to
version 2.0.1. This version has the following changes:
* Rating: Exclude deprecated rating control responses

## 4.0.0

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to
version 2.0.1. This version has the following changes:
* Version: Integrated capability for enable/disable version control based in a time range
* Rating: Integrated Google In App Review for Android

## 3.0.2

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to
version 1.0.11. This version fixes a bug when using Proguard in Android.

## 3.0.1

* Updated [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) to
version 1.0.10. This version fixes a bug of the rating popup in iOS.

## 3.0.0

* Using [modul_comu_osam library](https://github.com/AjuntamentdeBarcelona/modul_comu_osam) (
developed using Kotlin Multiplatform Mobile, KMM) to implement the functionality of this library.
This library is now a wrapper of the one developed in KMM.

## 2.0.1

* Fix Version Control Popup Context

## 2.0.0

* Migrated to null safety
* Fix english language in sample app

## 1.0.0

* First version of common module flutter (not null safety)
Loading

0 comments on commit e99828e

Please sign in to comment.