Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
branches:
- main
- development
- '**_baseline'

jobs:
build-android:
Expand All @@ -19,7 +20,7 @@ jobs:
with:
channel: 'stable'
- name: Build example app APK
run: cd example; flutter build apk
run: cd splitio/example; flutter build apk

test-android:
name: Test Android
Expand All @@ -34,11 +35,11 @@ jobs:
with:
channel: 'stable'
- name: Run Pub Get
run: flutter pub get
run: cd splitio/; flutter pub get
- name: Build Android
run: flutter build
run: cd splitio/; flutter build
- name: Run Android test
run: cd example/android/; gradle :splitio:testReleaseUnitTest;
run: cd splitio/example/android/; gradle :splitio:testReleaseUnitTest;

test-ios:
name: Test iOS
Expand All @@ -50,12 +51,12 @@ jobs:
with:
channel: 'stable'
- name: Run Build iOS
run: cd example/ios/; flutter build ios --no-codesign;
run: cd splitio/example/ios; flutter build ios --no-codesign;

- name: Select Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 13.2.1

- name: ios
run: cd example/ios/; xcodebuild test -workspace "Runner.xcworkspace" -scheme "Runner" -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO;
run: cd splitio/example/ios; xcodebuild test -workspace "Runner.xcworkspace" -scheme "Runner" -destination "platform=iOS Simulator,name=iPhone 12,OS=latest" CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO ONLY_ACTIVE_ARCH=NO;
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:
with:
channel: 'stable'
- name: Run Pub Get
run: flutter pub get
run: cd splitio/; flutter pub get
- name: Run flutter test
run: flutter test
run: cd splitio/; flutter test
13 changes: 0 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,3 @@
*.ipr
*.iws
.idea/

# 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/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
.packages
build/
29 changes: 29 additions & 0 deletions splitio/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# 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/

# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
.packages
build/
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions README.md → splitio/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ _split.client(onReady: (client) async {
}
```

For a more elaborate usage example see [here](https://github.com/splitio/flutter-sdk-plugin/blob/main/example/lib/main.dart).
For a more elaborate usage example see [here](https://github.com/splitio/flutter-sdk-plugin/blob/splitio/main/example/lib/main.dart).

For additional information, refer to our docs page.

Expand All @@ -44,7 +44,7 @@ For additional information, refer to our docs page.
The Split team monitors all issues submitted to this [issue tracker](https://github.com/splitio/flutter-sdk-plugin/issues). We encourage you to use this issue tracker to submit any bug reports, feedback, and feature enhancements. We'll do our best to respond in a timely manner.

## Contributing
Please see [contributors guide](https://github.com/splitio/flutter-sdk-plugin/blob/main/CONTRIBUTORS-GUIDE.md) to find all you need to submit a Pull Request (PR).
Please see [contributors guide](https://github.com/splitio/flutter-sdk-plugin/blob/splitio/main/CONTRIBUTORS-GUIDE.md) to find all you need to submit a Pull Request (PR).

## License
Licensed under the Apache License, Version 2.0. See: [Apache License](https://www.apache.org/licenses/).
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion pubspec.yaml → splitio/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: splitio
description: Official plugin for split.io, the platform for controlled rollouts, which serves features to your users via a Split feature flag to manage your complete customer experience.
version: 0.1.1
homepage: https://split.io/
repository: https://github.com/splitio/flutter-sdk-plugin
repository: https://github.com/splitio/flutter-sdk-plugin/splitio/

environment:
sdk: ">=2.16.2 <3.0.0"
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.