Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from tiki/feat/trail-v3
Browse files Browse the repository at this point in the history
Feat: add idp, payable, & receipt wrappers/handlers
  • Loading branch information
mike-audi authored Jul 8, 2023
2 parents 3cccef8 + be50e04 commit bf373d6
Show file tree
Hide file tree
Showing 96 changed files with 3,655 additions and 1,340 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,25 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: 'main'

- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '3.7.7'
flutter-version: '3.10.5'

- name: Start iOS Simulator
- name: Run Tests
run: flutter test --reporter github

- name: Dart Format
run: |
xcrun xctrace list devices
UDID=$(xcrun xctrace list devices | grep "^iPhone 14 Simulator (16.2) (" | awk '{gsub(/[()]/,""); print $NF}')
echo $UDID
xcrun simctl boot "${UDID:?No Simulator with this name found}"
- name: Load TIKI Credentials
env:
TIKI_CREDENTIALS: ${{ secrets.TIKI_CREDENTIALS }}
cd lib
dart format . -o show --set-exit-if-changed
- name: Verify tag version
id: tag
run: |
echo "$TIKI_CREDENTIALS" >> integration_test/tiki_credentials.dart
export export TAG_VERSION=$(grep version pubspec.yaml | awk -F ': ' '{print $2}')
echo "version=$TAG_VERSION" >> $GITHUB_OUTPUT
- name: Run iOS TikiSdkPlatform Integration Tests
run: flutter test integration_test/tiki_sdk_flutter_platform_test.dart

- name: Confirm tag version
run: echo ${{ steps.tag.outputs.version }}
3 changes: 1 addition & 2 deletions .github/workflows/version.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '3.7.7'
flutter-version: '3.10.5'

- name: Update docs
run: dart doc
Expand All @@ -62,6 +62,5 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "GH Action"
git add pubspec.yaml
git add doc/
git commit -m 'version bump'
git push
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.0.11
* minor bug fixes

## 1.0.3

* bump version to trigger release
Expand All @@ -16,4 +19,4 @@

## 0.0.1

* initial version
* initial version
6 changes: 3 additions & 3 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include: package:flutter_lints/flutter.yaml

# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options
linter:
rules:
- prefer_relative_imports
1 change: 0 additions & 1 deletion integration_test/.gitignore

This file was deleted.

21 changes: 0 additions & 21 deletions integration_test/in_mem_storage.dart

This file was deleted.

148 changes: 0 additions & 148 deletions integration_test/tiki_sdk_flutter_platform_test.dart

This file was deleted.

12 changes: 4 additions & 8 deletions lib/main.dart
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
/*
* Copyright (c) TIKI Inc.
* MIT license. See LICENSE file in root directory.
* Copyright (c) TIKI Inc.
* MIT license. See LICENSE file in root directory.
*/

/// Not used. Required by Dart Runtime for native implementations
///@nodoc
import 'package:flutter/material.dart';

import 'src/platform_channel/platform_channel.dart';
import 'src/channel.dart';

export 'package:tiki_sdk_dart/tiki_sdk.dart';

/// The Dart entry point for Platform Channels integration.
void main() {
WidgetsFlutterBinding.ensureInitialized();
PlatformChannel();
Channel();
}
76 changes: 0 additions & 76 deletions lib/src/assets/data/learn_more.md

This file was deleted.

Loading

0 comments on commit bf373d6

Please sign in to comment.