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
71 changes: 50 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -311,20 +311,59 @@ jobs:
- run: melos dryPublish --no-select

release_dio_plugin:
executor: flutter-executor
macos:
xcode: 15.2.0
resource_class: macos.m1.medium.gen1
working_directory: "~/project"
steps:
- advanced-checkout/shallow-checkout
- advanced-checkout/shallow-checkout:
path: ~/project
# Flutter doesn't support Apple Silicon yet, so we need to install Rosetta use Flutter on M1 machines.
- run:
name: Install Rosetta
command: softwareupdate --install-rosetta --agree-to-license
- setup_flutter
- run: chmod +x packages/Instabug-Dio-Interceptor/release.sh
- run: ./packages/Instabug-Dio-Interceptor/release.sh
- run:
name: Clone Escape
command: git clone -b master2 git@github.com:Instabug/Escape.git
- run:
name: Build Escape
working_directory: Escape
command: |
swift build -c release
cp -f .build/release/Escape /usr/local/bin/escape
- run:
name: Publish Package
working_directory: packages/instabug_dio_interceptor
command: Escape flutter publish-dependancy


release_http_adapter_plugin:
executor: flutter-executor
macos:
xcode: 15.2.0
resource_class: macos.m1.medium.gen1
working_directory: "~/project"
steps:
- advanced-checkout/shallow-checkout
- advanced-checkout/shallow-checkout:
path: ~/project
# Flutter doesn't support Apple Silicon yet, so we need to install Rosetta use Flutter on M1 machines.
- run:
name: Install Rosetta
command: softwareupdate --install-rosetta --agree-to-license
- setup_flutter
- run: chmod +x packages/Instabug-Dart-http-Adapter/release.sh
- run: ./packages/Instabug-Dart-http-Adapter/release.sh
- run:
name: Clone Escape
command: git clone -b master2 git@github.com:Instabug/Escape.git
- run:
name: Build Escape
working_directory: Escape
command: |
swift build -c release
cp -f .build/release/Escape /usr/local/bin/escape
- run:
name: Publish Package
working_directory: packages/instabug_http_client
command: Escape flutter publish-dependancy

release_modular_plugin:
executor: flutter-executor
Expand All @@ -347,20 +386,10 @@ jobs:
- run:
name: Install Rosetta
command: softwareupdate --install-rosetta --agree-to-license
- flutter/install_sdk_and_pub:
version: 3.10.5
app-dir: project
- run:
name: Install pub packages
working_directory: ~/project
command: dart pub get
- run:
name: Generate Pigeons
working_directory: project
command: melos pigeon --no-select
- setup_flutter
- run:
name: Clone Escape
command: git clone git@github.com:Instabug/Escape.git
command: git clone -b master2 git@github.com:Instabug/Escape.git
- run:
name: Build Escape
working_directory: Escape
Expand All @@ -369,7 +398,7 @@ jobs:
cp -f .build/release/Escape /usr/local/bin/escape
- run:
name: Publish Package
working_directory: project
working_directory: packages/instabug_flutter
command: Escape flutter publish

workflows:
Expand Down
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Generated files
*.mocks.dart
*.g.dart
packages/**/android/**/generated/
packages/**/ios/**/Generated/
**/pubspec_overrides.yaml
!**/example/pubspec_overrides.yaml

# Miscellaneous
*.class
Expand Down Expand Up @@ -89,4 +87,3 @@ android/gradlew.bat
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
/packages/**/lib/src/generated/
1 change: 1 addition & 0 deletions melos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ scripts:
flutter: true
dependsOn: pana
private: false
scope: instabug_flutter
pods:
run: cd ios && pod install --repo-update
description: running pod install
Expand Down
75 changes: 75 additions & 0 deletions packages/instabug_dio_interceptor/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Generated files
*.mocks.dart

# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/

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

# Visual Studio Code related
.vscode/

# Flutter/Dart/Pub related
**/doc/api/
.dart_tool/
.flutter-plugins
.packages
.flutter-plugins-dependencies
.pub-cache/
.pub/
build/

# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
**/android/gradlew
**/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java

# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages

This file was deleted.

2 changes: 1 addition & 1 deletion packages/instabug_dio_interceptor/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description:
with Dio Package and sends them to the report that will be sent to the dashboard.
version: 2.6.0
homepage: https://github.com/Instabug/Instabug-Flutter#readme
repository: https://github.com/Instabug/Instabug-Flutter/tree/refactor/monorepo/packages/instabug_dio_interceptor
repository: https://github.com/Instabug/Instabug-Flutter/tree/master/packages/instabug_dio_interceptor

environment:
sdk: '>=2.12.0 <4.0.0'
Expand Down
4 changes: 0 additions & 4 deletions packages/instabug_dio_interceptor/pubspec_overrides.yaml

This file was deleted.

8 changes: 6 additions & 2 deletions packages/instabug_dio_interceptor/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ if [ ! "${VERSION}" ] || [ -z "${VERSION}" ];then
echo "Instabug: err: Version Number not found."
exit 1
else
mkdir -p .pub-cache
cat <<EOF > $HOME/.pub-cache/credentials.json
# Remove pubspec_overrides.yaml files before publishing to avoid warnings
echo "Removing pubspec_overrides.yaml files before publishing..."
find . -name "pubspec_overrides.yaml" -delete

mkdir -p "$HOME/Library/Application Support/dart"
cat <<EOF > "$HOME/Library/Application Support/dart/pub-credentials.json"
${PUB_CREDENTIALS}

EOF
Expand Down
86 changes: 86 additions & 0 deletions packages/instabug_flutter/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# Generated files
*.mocks.dart
*.g.dart
android/**/generated/
ios/**/Generated/

# 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
**/doc/api/
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/pubspec.lock
build/
coverage/

# Node related
node_modules

# Android related
**/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
android/gradlew
android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java

# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*

# Exceptions to above rules.
!**/ios/**/default.mode1v3
!**/ios/**/default.mode2v3
!**/ios/**/default.pbxuser
!**/ios/**/default.perspectivev3
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
8 changes: 8 additions & 0 deletions packages/instabug_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
# Changelog

## [16.0.1](https://github.com/Instabug/Instabug-Flutter/compare/v15.0.3...dev) (Sep 3, 2025)

### Fixed

- Fixed Missing Generated Files ([#634](https://github.com/Instabug/Instabug-Flutter/pull/634)).


## [16.0.0](https://github.com/Instabug/Instabug-Flutter/compare/v15.0.3...dev) (Aug 29, 2025)

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/instabug_flutter/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group 'com.instabug.flutter'
version '16.0.0'
version '16.0.1'

buildscript {
repositories {
Expand Down
4 changes: 2 additions & 2 deletions packages/instabug_flutter/example/ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PODS:
- Flutter (1.0.0)
- Instabug (16.0.2)
- instabug_flutter (16.0.0):
- instabug_flutter (16.0.1):
- Flutter
- Instabug (= 16.0.2)
- OCMock (3.6)
Expand Down Expand Up @@ -31,7 +31,7 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
Instabug: 125f729dea4e4a43e815ae06f9db0332e2a5fd60
instabug_flutter: 156a51054e7e5dc9378fac1a8f6867b26968bfee
instabug_flutter: e87492cda79a41198037cea0685c8a5dafc172f4
OCMock: 5ea90566be239f179ba766fd9fbae5885040b992
video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b

Expand Down
11 changes: 6 additions & 5 deletions packages/instabug_flutter/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,15 @@ packages:
path: ".."
relative: true
source: path
version: "16.0.0"
version: "16.0.1"
instabug_http_client:
dependency: "direct main"
description:
path: "../../instabug_http_client"
relative: true
source: path
version: "2.6.0"
name: instabug_http_client
sha256: ff1d9f1f4a47dd4f80e532bf867ed5e1d8784ba3574cd5b412bab2b075ef3092
url: "https://pub.dev"
source: hosted
version: "2.7.0"
leak_tracker:
dependency: transitive
description:
Expand Down
6 changes: 0 additions & 6 deletions packages/instabug_flutter/example/pubspec_overrides.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion packages/instabug_flutter/ios/instabug_flutter.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'instabug_flutter'
s.version = '16.0.0'
s.version = '16.0.1'
s.summary = 'Flutter plugin for integrating the Instabug SDK.'
s.author = 'Instabug'
s.homepage = 'https://www.instabug.com/platforms/flutter'
Expand Down
Loading