Skip to content

Commit

Permalink
Analytics beta releae
Browse files Browse the repository at this point in the history
  • Loading branch information
quetool committed Mar 12, 2024
1 parent bbef015 commit 39db229
Show file tree
Hide file tree
Showing 11 changed files with 82 additions and 49 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-android-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
env:
APP_ID: ${{ secrets.ANDROID_APP_ID_INTERNAL }}
run: |
firebase appdistribution:distribute app-beta-release.apk --app $APP_ID --release-notes "Web3Modal Flutter beta release" --groups flutter-team
firebase appdistribution:distribute app-beta-release.apk --app $APP_ID --release-notes "Web3Modal Flutter beta release" --groups "flutter-team, javascript-team, kotlin-team"
- name: Notify Channel
uses: slackapi/[email protected]
env:
Expand All @@ -107,7 +107,7 @@ jobs:
with:
payload: |-
{
"text":"🤖 New *Android* build *${{ github.ref_name }}* version for Web3Modal Flutter beta was just deployed."
"text":"🤖 New *Android* build *${{ github.ref_name }}* version for *Web3Modal Flutter* was just deployed. Test at https://appdistribution.firebase.dev/i/a47ee97e86fbdfff"
}
# Clean up Flutter envs
- name: Clean up
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
with:
payload: |-
{
"text":"New Android Example app for Web3Modal Flutter ${{ github.event.release.name }} was just deployed."
"text":"🤖 New *Android* build *${{ github.ref_name }}* stable version for *Web3Modal Flutter* was just deployed. Test at https://appdistribution.firebase.dev/i/a8efff56e3f0fdb0"
}
# Clean up Flutter envs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ios-internal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
with:
payload: |-
{
"text":"🍎 New *iOS* build *${{ github.ref_name }}* version for Web3Modal Flutter beta was just deployed."
"text":"🍎 New *iOS* build *${{ github.ref_name }}* version for *Web3Modal Flutter* was just deployed."
}
# Clean up
- name: Clean up
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
with:
payload: |-
{
"text":"New iOS Example app for Web3Modal Flutter ${{ github.event.release.name }} was just deployed."
"text":"🍎 New *iOS* build *${{ github.ref_name }}* stable version for *Web3Modal Flutter* was just deployed."
}
# Clean up
- name: Clean up
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ jobs:
- name: Notify Channel
uses: slackapi/[email protected]
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_URL: 'https://hooks.slack.com/services/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'
SLACK_WEBHOOK_TYPE: 'INCOMING_WEBHOOK'
with:
payload: |-
{
"text":"Web3Modal Flutter ${{ github.ref_name }} was just published at https://pub.dev/packages/web3modal_flutter"
"text":"🚀 Web3Modal Flutter *${{ github.ref_name }}* stable was just published at https://pub.dev/packages/web3modal_flutter"
}
2 changes: 1 addition & 1 deletion .github/workflows/tagbeta.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"ref": "refs/tags/v0.0.0-beta01"
"ref": "refs/tags/v3.1.3-beta01"
}
2 changes: 1 addition & 1 deletion example/android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ org.gradle.jvmargs=-Xmx1536M
android.useAndroidX=true
android.enableJetifier=true
versionName=3.1.3
versionCode=38
versionCode=40
12 changes: 6 additions & 6 deletions example/ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 38;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22;
ENABLE_BITCODE = NO;
Expand All @@ -496,7 +496,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 38;
CURRENT_PROJECT_VERSION = 40;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.web3modal.flutterExample.RunnerTests;
Expand All @@ -514,7 +514,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 38;
CURRENT_PROJECT_VERSION = 40;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.web3modal.flutterExample.RunnerTests;
Expand All @@ -530,7 +530,7 @@
buildSettings = {
BUNDLE_LOADER = "$(TEST_HOST)";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 38;
CURRENT_PROJECT_VERSION = 40;
GENERATE_INFOPLIST_FILE = YES;
MARKETING_VERSION = 1.0;
PRODUCT_BUNDLE_IDENTIFIER = com.web3modal.flutterExample.RunnerTests;
Expand Down Expand Up @@ -655,7 +655,7 @@
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 38;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -686,7 +686,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CODE_SIGN_STYLE = Manual;
CURRENT_PROJECT_VERSION = 38;
CURRENT_PROJECT_VERSION = 40;
DEVELOPMENT_TEAM = "";
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = W5R8AG9K22;
ENABLE_BITCODE = NO;
Expand Down
13 changes: 13 additions & 0 deletions example/ios/Runner/ExportOptionsInternal.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>method</key>
<string>app-store</string>
<key>provisioningProfiles</key>
<dict>
<key>com.web3modal.flutterExample.internal</key>
<string>FlutterAppStoreProfileInternal</string>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion example/ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>38</string>
<string>40</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
86 changes: 53 additions & 33 deletions example/lib/widgets/logger_widget.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter/scheduler.dart';
import 'package:web3modal_flutter/services/analytics_service/analytics_service_singleton.dart';
import 'package:web3modal_flutter/version.dart';

class DraggableCard extends StatefulWidget {
final OverlayController overlayController;
Expand Down Expand Up @@ -50,44 +51,63 @@ class _DraggableCardState extends State<DraggableCard> {
elevation: 6.0,
color: Colors.black87,
clipBehavior: Clip.antiAlias,
child: SizedBox(
width: MediaQuery.of(context).size.width,
height: 200.0,
child: Row(
children: [
Expanded(
child: SizedBox(
height: 200.0,
child: ListView(
reverse: true,
padding: const EdgeInsets.all(6.0),
children: _logs.reversed.toList(),
),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
Container(
color: Colors.black,
width: MediaQuery.of(context).size.width,
height: 20.0,
alignment: Alignment.center,
child: const Text(
packageVersion,
style: TextStyle(
color: Colors.white,
fontSize: 12.0,
fontWeight: FontWeight.bold,
),
),
GestureDetector(
onPanUpdate: (details) {
widget.overlayController.alignChildTo(
details.globalPosition,
size * 0.5,
);
},
onPanEnd: (_) {
// widget.overlayController.alignToScreenEdge();
},
child: Container(
width: 25.0,
color: Colors.black,
child: const Center(
child: Icon(
Icons.drag_indicator_rounded,
color: Colors.white,
),
SizedBox(
width: MediaQuery.of(context).size.width,
height: 200.0,
child: Row(
children: [
Expanded(
child: SizedBox(
height: 200.0,
child: ListView(
reverse: true,
padding: const EdgeInsets.all(6.0),
children: _logs.reversed.toList(),
),
),
),
),
GestureDetector(
onPanUpdate: (details) {
widget.overlayController.alignChildTo(
details.globalPosition,
size * 0.5,
);
},
onPanEnd: (_) {
// widget.overlayController.alignToScreenEdge();
},
child: Container(
width: 25.0,
color: Colors.black,
child: const Center(
child: Icon(
Icons.drag_indicator_rounded,
color: Colors.white,
),
),
),
),
],
),
],
),
),
],
),
);
}
Expand Down

0 comments on commit 39db229

Please sign in to comment.