Skip to content

Commit bb9717f

Browse files
Merge pull request #149 from Instabug/release/v9.1.8
Release/v9.1.8
2 parents 241ad96 + 95ee2d7 commit bb9717f

File tree

96 files changed

+1384
-1598
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+1384
-1598
lines changed

.circleci/config.yml

Lines changed: 34 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
version: 2
22
jobs:
33
android_tests:
4-
working_directory: ~/project/example/android
4+
working_directory: ~/project/InstabugSample/android
55
macos:
6-
xcode: "9.4.0"
6+
xcode: "12.3.0"
77
environment:
88
JVM_OPTS: -Xmx3200m
99
steps:
1010
- checkout:
1111
path: ~/project
12-
- restore_cache:
13-
keys:
14-
- android_cache
12+
- run:
13+
name: Install JAVA
14+
command: |
15+
HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask homebrew/cask-versions/adoptopenjdk8
16+
- run:
17+
name: Install Android sdk
18+
command: |
19+
HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask android-sdk
1520
- run:
1621
name: Setup environment variables
1722
command: |
1823
echo 'export PATH="$PATH:/usr/local/opt/node@8/bin:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin:/usr/local/share/android-sdk/tools/bin"' >> $BASH_ENV
24+
echo 'export JAVA_HOME=`/usr/libexec/java_home -v 1.8`' >> $BASH_ENV
1925
echo 'export ANDROID_HOME="/usr/local/share/android-sdk"' >> $BASH_ENV
2026
echo 'export ANDROID_SDK_HOME="/usr/local/share/android-sdk"' >> $BASH_ENV
2127
echo 'export ANDROID_SDK_ROOT="/usr/local/share/android-sdk"' >> $BASH_ENV
2228
echo 'export QEMU_AUDIO_DRV=none' >> $BASH_ENV
23-
echo 'export JAVA_HOME=/Library/Java/Home' >> $BASH_ENV
24-
echo 'export PATH="$PATH:`pwd`/flutter/bin"' >> $BASH_ENV
25-
- run:
26-
name: Install Android sdk
27-
command: |
28-
HOMEBREW_NO_AUTO_UPDATE=1 brew tap homebrew/cask
29-
HOMEBREW_NO_AUTO_UPDATE=1 brew cask install android-sdk
29+
echo 'export PATH="$PATH:~/flutter/bin"' >> $BASH_ENV
3030
- run:
3131
name: Install emulator dependencies
3232
command: (yes | sdkmanager "platform-tools" "platforms;android-26" "extras;intel;Hardware_Accelerated_Execution_Manager" "build-tools;26.0.0" "system-images;android-26;google_apis;x86" "emulator" --verbose) || true
@@ -40,27 +40,23 @@ jobs:
4040
background: true
4141
- run:
4242
name: download flutter SDK
43-
command: if ! test -f "flutter_sdk.zip"; then curl -o flutter_sdk.zip https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_v1.5.4-hotfix.2-stable.zip; fi
43+
command: if ! test -f "~/flutter_sdk.zip"; then curl -o ~/flutter_sdk.zip https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_1.20.4-stable.zip; fi
4444
- run:
4545
name: unzip flutter SDK
46-
command: unzip flutter_sdk.zip
46+
command: unzip ~/flutter_sdk.zip -d ~
47+
- run: flutter doctor
4748
- run:
4849
name: Flutter build
4950
command: cd ..; flutter build aot
5051
- run:
5152
name: Download Android Dependencies
5253
command: ./gradlew androidDependencies
53-
# - run:
54-
# name: Run UI Tests
55-
# command: ./gradlew app:connectedAndroidTest
5654
- run:
5755
name: Run Unit Tests
5856
command: ./gradlew test
59-
- save_cache:
60-
key: android_cache
61-
paths:
62-
- ~/.gradle
63-
- flutter_sdk.zip
57+
- run:
58+
name: Run UI Tests
59+
command: ./gradlew app:connectedAndroidTest
6460

6561
flutter_tests:
6662
docker:
@@ -78,46 +74,36 @@ jobs:
7874

7975
ios_tests:
8076
macos:
81-
xcode: "10.2.0"
82-
working_directory: ~/project/example/ios
77+
xcode: "12.3.0"
78+
working_directory: ~/project/InstabugSample
8379
environment:
8480
FL_OUTPUT_DIR: output
8581
steps:
8682
- checkout:
8783
path: ~/project
88-
- restore_cache:
89-
keys:
90-
- flutter-cache
84+
- run:
85+
name: Install CocoaPods
86+
command: sudo gem install cocoapods
9187
- run:
9288
name: download flutter SDK
93-
command: if ! test -f "flutter_sdk.zip"; then curl -o flutter_sdk.zip https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_v1.5.4-hotfix.2-stable.zip; fi
89+
command: if ! test -f "~/flutter_sdk.zip"; then curl -o ~/flutter_sdk.zip https://storage.googleapis.com/flutter_infra/releases/stable/macos/flutter_macos_1.20.4-stable.zip; fi
9490
- run:
9591
name: unzip flutter SDK
96-
command: unzip flutter_sdk.zip
92+
command: unzip ~/flutter_sdk.zip -d ~
9793
- run:
9894
name: export flutter path
99-
command: echo 'export PATH="$PATH:`pwd`/flutter/bin"' >> $BASH_ENV
100-
- run:
101-
name: Fetch CocoaPods Specs
102-
command: curl https://cocoapods-specs.circleci.com/fetch-cocoapods-repo-from-s3.sh | bash -s cf
95+
command: echo 'export PATH="$PATH:~/flutter/bin"' >> $BASH_ENV
10396
- run: flutter doctor
97+
- run: flutter pub get
98+
- run:
99+
name: Install Pods
100+
command: cd ios && pod install --repo-update
104101
- run:
105102
name: Flutter build
106-
command: cd ..; flutter build aot
107-
- run:
108-
name: Update CocoaPods
109-
command: pod update
110-
- run:
111-
name: Install CocoaPods
112-
command: pod install --repo-update
103+
command: flutter build aot
113104
- run:
114105
name: Build and run tests
115-
command: xcodebuild -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone X,OS=12.2' test | xcpretty
116-
- save_cache:
117-
key: flutter-cache
118-
paths:
119-
- flutter_sdk.zip
120-
- Pods
106+
command: cd ios && xcodebuild -allowProvisioningUpdates -workspace Runner.xcworkspace -scheme Runner -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max,OS=14.3' test | xcpretty
121107

122108
release:
123109
docker:
@@ -129,7 +115,7 @@ jobs:
129115

130116
publish:
131117
macos:
132-
xcode: "10.1.0"
118+
xcode: "12.3.0"
133119
steps:
134120
- checkout
135121
- run: git clone https://InstabugCI:[email protected]/Instabug/Escape.git
@@ -168,4 +154,4 @@ workflows:
168154
filters:
169155
branches:
170156
only: master
171-
157+

.gitignore

Lines changed: 33 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,46 @@
1-
### Flutter ###
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
224
**/doc/api/
325
.dart_tool/
426
.flutter-plugins
27+
.flutter-plugins-dependencies
528
.packages
629
.pub-cache/
730
.pub/
831
pubspec.lock
932
build/
1033

11-
### Android ###
12-
gen-external-apklibs
13-
14-
# OS-specific files
15-
.DS_Store
16-
.DS_Store?
17-
._*
18-
.Trashes
19-
20-
# Built application files
21-
*.apk
22-
*.aab
23-
24-
# Files for the ART/Dalvik VM
25-
*.dex
26-
27-
# Generated files
28-
bin/
29-
gen/
30-
31-
# Gradle files
32-
!/gradle/wrapper/gradle-wrapper.jar
34+
# Android related
3335
**/android/**/gradle-wrapper.jar
36+
**/android/.gradle
37+
**/android/captures/
3438
**/android/gradlew
35-
/*/*/build/
36-
.gradle/
37-
38-
# Local configuration file (sdk path, etc)
39-
/*/local.properties
39+
**/android/gradlew.bat
40+
**/android/local.properties
4041
**/android/**/GeneratedPluginRegistrant.java
41-
/*/out
42-
43-
# Log Files
44-
*.log
45-
46-
# Android Studio Navigation editor temp files
47-
.navigation/
48-
49-
# Android Studio captures folder
50-
**/android/captures/
51-
52-
# IntelliJ
53-
*.iml
54-
.idea/
55-
56-
# Keystore files
57-
*.jks
58-
*.keystore
59-
60-
# Signing files
61-
.signing/
62-
63-
# External native build folder generated in Android Studio 2.2 and later
64-
.externalNativeBuild
65-
66-
# Google Services (e.g. APIs or Firebase)
67-
google-services.json
68-
69-
# lint
70-
lint/intermediates/
71-
lint/generated/
72-
lint/outputs/
73-
lint/tmp/
7442

75-
### IOS ###
43+
# iOS/XCode related
7644
**/ios/**/*.mode1v3
7745
**/ios/**/*.mode2v3
7846
**/ios/**/*.moved-aside
@@ -91,10 +59,12 @@ lint/tmp/
9159
**/ios/.generated/
9260
**/ios/Flutter/App.framework
9361
**/ios/Flutter/Flutter.framework
62+
**/ios/Flutter/Flutter.podspec
9463
**/ios/Flutter/Generated.xcconfig
9564
**/ios/Flutter/app.flx
9665
**/ios/Flutter/app.zip
9766
**/ios/Flutter/flutter_assets/
67+
**/ios/Flutter/flutter_export_environment.sh
9868
**/ios/ServiceDefinitions.json
9969
**/ios/Runner/GeneratedPluginRegistrant.*
10070

@@ -103,5 +73,4 @@ lint/tmp/
10373
!**/ios/**/default.mode2v3
10474
!**/ios/**/default.pbxuser
10575
!**/ios/**/default.perspectivev3
106-
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
107-
example/.flutter-plugins-dependencies
76+
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## master
1+
## v9.1.8 (2021-02-17)
22

33
* Fixes an issue with iOS invocation events causing the welcome message not to show.
44

InstabugSample/.gitignore

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
**/ios/Flutter/.last_build_id
26+
.dart_tool/
27+
.flutter-plugins
28+
.flutter-plugins-dependencies
29+
.packages
30+
.pub-cache/
31+
.pub/
32+
/build/
33+
34+
# Web related
35+
lib/generated_plugin_registrant.dart
36+
37+
# Symbolication related
38+
app.*.symbols
39+
40+
# Obfuscation related
41+
app.*.map.json

example/.metadata renamed to InstabugSample/.metadata

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: 5391447fae6209bb21a89e6a5a6583cac1af9b4b
7+
revision: 9b2d32b605630f28625709ebd9d78ab3016b2bf6
88
channel: stable
99

1010
project_type: app

InstabugSample/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# InstabugSample
2+
3+
A new Flutter project.
4+
5+
## Getting Started
6+
7+
This project is a starting point for a Flutter application.
8+
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.dev/docs/get-started/codelab)
12+
- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
13+
14+
For help getting started with Flutter, view our
15+
[online documentation](https://flutter.dev/docs), which offers tutorials,
16+
samples, guidance on mobile development, and a full API reference.

InstabugSample/android/.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
!gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
!/gradlew
5+
!/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
8+
9+
# Remember to never publicly share your keystore.
10+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
key.properties

0 commit comments

Comments
 (0)