Skip to content

Commit

Permalink
Fix fastlane, improve position of submenus
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed May 22, 2022
1 parent 81d2e69 commit 7626fc2
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 27 deletions.
3 changes: 3 additions & 0 deletions app/android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ key.properties
**/*.keystore
**/*.jks
play-store-credentials.json

# Fastlane
.bundle
1 change: 1 addition & 0 deletions app/android/Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
source "https://rubygems.org"

gem "fastlane"
gem "screengrab"
46 changes: 25 additions & 21 deletions app/android/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ GEM
artifactory (3.0.15)
atomos (0.1.3)
aws-eventstream (1.2.0)
aws-partitions (1.559.0)
aws-sdk-core (3.127.0)
aws-partitions (1.589.0)
aws-sdk-core (3.131.1)
aws-eventstream (~> 1, >= 1.0.2)
aws-partitions (~> 1, >= 1.525.0)
aws-sigv4 (~> 1.1)
jmespath (~> 1.0)
aws-sdk-kms (1.55.0)
jmespath (~> 1, >= 1.6.1)
aws-sdk-kms (1.57.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sigv4 (~> 1.1)
aws-sdk-s3 (1.113.0)
aws-sdk-s3 (1.114.0)
aws-sdk-core (~> 3, >= 3.127.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.4)
aws-sigv4 (1.4.0)
aws-sigv4 (1.5.0)
aws-eventstream (~> 1, >= 1.0.2)
babosa (1.0.4)
claide (1.1.0)
Expand All @@ -36,7 +36,7 @@ GEM
unf (>= 0.0.5, < 1.0.0)
dotenv (2.7.6)
emoji_regex (3.2.3)
excon (0.91.0)
excon (0.92.3)
faraday (1.10.0)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
Expand Down Expand Up @@ -66,7 +66,7 @@ GEM
faraday_middleware (1.2.0)
faraday (~> 1.0)
fastimage (2.2.6)
fastlane (2.204.3)
fastlane (2.206.1)
CFPropertyList (>= 2.3, < 4.0.0)
addressable (>= 2.8, < 3.0.0)
artifactory (~> 3.0)
Expand Down Expand Up @@ -106,9 +106,9 @@ GEM
xcpretty (~> 0.3.0)
xcpretty-travis-formatter (>= 0.0.3)
gh_inspector (1.1.3)
google-apis-androidpublisher_v3 (0.16.0)
google-apis-androidpublisher_v3 (0.21.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-core (0.4.2)
google-apis-core (0.5.0)
addressable (~> 2.5, >= 2.5.1)
googleauth (>= 0.16.2, < 2.a)
httpclient (>= 2.8.1, < 3.a)
Expand All @@ -121,23 +121,23 @@ GEM
google-apis-core (>= 0.4, < 2.a)
google-apis-playcustomapp_v1 (0.7.0)
google-apis-core (>= 0.4, < 2.a)
google-apis-storage_v1 (0.11.0)
google-apis-storage_v1 (0.14.0)
google-apis-core (>= 0.4, < 2.a)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
google-cloud-env (1.5.0)
faraday (>= 0.17.3, < 2.0)
google-cloud-env (1.6.0)
faraday (>= 0.17.3, < 3.0)
google-cloud-errors (1.2.0)
google-cloud-storage (1.36.1)
google-cloud-storage (1.36.2)
addressable (~> 2.8)
digest-crc (~> 0.4)
google-apis-iamcredentials_v1 (~> 0.1)
google-apis-storage_v1 (~> 0.1)
google-cloud-core (~> 1.6)
googleauth (>= 0.16.2, < 2.a)
mini_mime (~> 1.0)
googleauth (1.1.2)
googleauth (1.1.3)
faraday (>= 0.17.3, < 3.a)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
Expand All @@ -148,8 +148,8 @@ GEM
http-cookie (1.0.4)
domain_name (~> 0.5)
httpclient (2.8.3)
jmespath (1.6.0)
json (2.6.1)
jmespath (1.6.1)
json (2.6.2)
jwt (2.3.0)
memoist (0.16.2)
mini_magick (4.11.0)
Expand All @@ -161,9 +161,9 @@ GEM
optparse (0.1.1)
os (1.1.4)
plist (3.6.0)
public_suffix (4.0.6)
public_suffix (4.0.7)
rake (13.0.6)
representable (3.1.1)
representable (3.2.0)
declarative (< 0.1.0)
trailblazer-option (>= 0.1.1, < 0.2.0)
uber (< 0.2.0)
Expand All @@ -172,6 +172,8 @@ GEM
rouge (2.0.7)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
screengrab (1.0.0)
fastlane (>= 2.0.0, < 3.0.0)
security (0.1.3)
signet (0.16.1)
addressable (~> 2.8)
Expand All @@ -192,7 +194,7 @@ GEM
uber (0.1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8)
unf_ext (0.0.8.1)
unicode-display_width (1.8.0)
webrick (1.7.0)
word_wrap (1.0.0)
Expand All @@ -211,9 +213,11 @@ GEM
PLATFORMS
x64-mingw-ucrt
x64-mingw32
x86_64-linux

DEPENDENCIES
fastlane
screengrab

BUNDLED WITH
2.3.8
2.3.14
1 change: 1 addition & 0 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,6 @@ flutter {
}

dependencies {
androidTestImplementation 'tools.fastlane:screengrab:2.1.1'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
}
18 changes: 14 additions & 4 deletions app/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.linwood.butterfly">
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="dev.linwood.butterfly">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
<uses-permission android:name="android.permission.INTERNET" />

<!-- Allows unlocking your device and activating its screen so UI tests can succeed -->
<uses-permission android:name="android.permission.DISABLE_KEYGUARD" />
<uses-permission android:name="android.permission.WAKE_LOCK" />

<!-- Allows for storing and retrieving screenshots -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

<!-- Allows changing locales -->
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
</manifest>
6 changes: 6 additions & 0 deletions app/lib/views/app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,9 @@ class _MainPopupMenu extends StatelessWidget {
title: Text(AppLocalizations.of(context)!.open),
subtitle: Text(context.getShortcut('O')),
trailing: PopupMenuButton(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16)),
offset: const Offset(60, 0),
icon: const Icon(PhosphorIcons.caretRightLight),
itemBuilder: (context) => <PopupMenuEntry>[
PopupMenuItem(
Expand Down Expand Up @@ -423,6 +426,9 @@ class _MainPopupMenu extends StatelessWidget {
PopupMenuItem(
padding: EdgeInsets.zero,
child: PopupMenuButton(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(16)),
offset: const Offset(285, 0),
itemBuilder: (popupContext) => <PopupMenuEntry>[
PopupMenuItem(
padding: EdgeInsets.zero,
Expand Down
2 changes: 1 addition & 1 deletion app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,7 @@ packages:
name: provider
url: "https://pub.dartlang.org"
source: hosted
version: "6.0.2"
version: "6.0.3"
pub_semver:
dependency: transitive
description:
Expand Down
3 changes: 2 additions & 1 deletion fastlane/metadata/android/en-US/changelogs/23.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
* Fix layout on bigger screens
* Fix image export
* Fix image export
* Improve position of submenus

0 comments on commit 7626fc2

Please sign in to comment.