Skip to content

Commit cc7d6bb

Browse files
authored
Merge pull request #29 from polkawallet-io/develop
Release 0.4.9
2 parents f3fbb20 + ec57669 commit cc7d6bb

File tree

93 files changed

+21173
-5515
lines changed

Some content is hidden

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

93 files changed

+21173
-5515
lines changed

.gitattributes

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
js_api/.yarn/releases/** binary
2+
js_api/.yarn/plugins/** binary
3+
js_api/dist/** binary
4+
assets/*.js binary

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,14 @@ app.*.map.json
4545
!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
4646

4747
js_api/node_modules/
48-
js_api/dist/main.js.LICENSE.txt
48+
js_api/.yarn/*
49+
!js_api/.yarn/patches
50+
!js_api/.yarn/plugins
51+
!js_api/.yarn/releases
52+
!js_api/.yarn/sdks
53+
!js_api/.yarn/versions
54+
55+
js_api/dist/*.js.LICENSE.txt
56+
4957
js_as_extension/node_modules/
5058
js_api_eth/node_modules/

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.4.9] - 20220808
2+
3+
* add bridge api
4+
* fix DApp browser request parsing with unknown address format
5+
16
## [0.4.8] - 20220621
27

38
* upgrade flutter 3.0.1

assets/bridge.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<html>
2+
<head>
3+
<meta charset="utf-8" />
4+
<script type="application/javascript" src="bridge.js"></script>
5+
</head>
6+
<body>
7+
<h1>polkawallet bridge js runner</h1>
8+
</body>
9+
</html>

assets/bridge.js

Lines changed: 329 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
<html>
2+
<head>
3+
<meta charset="utf-8" />
4+
<script type="application/javascript" src="index.js"></script>
5+
</head>
26
<body>
37
<h1>polkadot-js/api runner</h1>
48
</body>

assets/index.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
targets:
2+
$default:
3+
sources:
4+
- lib/**

example/android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,33 +6,16 @@
66
additional functionality it is fine to subclass or reimplement
77
FlutterApplication and put your custom class here. -->
88
<application
9-
android:name="${applicationName}"
109
android:label="example"
1110
android:icon="@mipmap/ic_launcher">
1211
<activity
1312
android:name=".MainActivity"
13+
android:exported="true"
1414
android:launchMode="singleTop"
1515
android:theme="@style/LaunchTheme"
1616
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1717
android:hardwareAccelerated="true"
1818
android:windowSoftInputMode="adjustResize">
19-
<!-- Specifies an Android theme to apply to this Activity as soon as
20-
the Android process has started. This theme is visible to the user
21-
while the Flutter UI initializes. After that, this theme continues
22-
to determine the Window background behind the Flutter UI. -->
23-
<meta-data
24-
android:name="io.flutter.embedding.android.NormalTheme"
25-
android:resource="@style/NormalTheme"
26-
/>
27-
<!-- Displays an Android View that continues showing the launch screen
28-
Drawable until Flutter paints its first frame, then this splash
29-
screen fades out. A splash screen is useful to avoid any visual
30-
gap between the end of Android's launch screen and the painting of
31-
Flutter's first frame. -->
32-
<meta-data
33-
android:name="io.flutter.embedding.android.SplashScreenDrawable"
34-
android:resource="@drawable/launch_background"
35-
/>
3619
<intent-filter>
3720
<action android:name="android.intent.action.MAIN"/>
3821
<category android:name="android.intent.category.LAUNCHER"/>

example/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
buildscript {
2-
ext.kotlin_version = '1.3.50'
2+
ext.kotlin_version = '1.6.10'
33
repositories {
44
google()
55
jcenter()

0 commit comments

Comments
 (0)