Skip to content

Commit c361438

Browse files
committed
fix embedding v2
1 parent 84e8158 commit c361438

File tree

9 files changed

+207
-188
lines changed

9 files changed

+207
-188
lines changed

.flutter-plugins-dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.9/","dependencies":[]},{"name":"share","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/share-0.6.4+3/","dependencies":[]},{"name":"shared_preferences","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.7+3/","dependencies":[]},{"name":"sqflite","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.0+2/","dependencies":[]},{"name":"url_launcher","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.4.10/","dependencies":[]},{"name":"webview_flutter","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/webview_flutter-0.3.22+1/","dependencies":[]}],"android":[{"name":"path_provider","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/path_provider-1.6.9/","dependencies":[]},{"name":"share","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/share-0.6.4+3/","dependencies":[]},{"name":"shared_preferences","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences-0.5.7+3/","dependencies":[]},{"name":"sqflite","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.0+2/","dependencies":[]},{"name":"url_launcher","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/url_launcher-5.4.10/","dependencies":[]},{"name":"webview_flutter","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/webview_flutter-0.3.22+1/","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/path_provider_macos-0.0.4+3/","dependencies":[]},{"name":"shared_preferences_macos","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_macos-0.0.1+9/","dependencies":[]},{"name":"sqflite","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/sqflite-1.3.0+2/","dependencies":[]},{"name":"url_launcher_macos","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_macos-0.0.1+7/","dependencies":[]}],"linux":[],"windows":[],"web":[{"name":"shared_preferences_web","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/shared_preferences_web-0.1.2+7/","dependencies":[]},{"name":"url_launcher_web","path":"/Users/thl/.pub-cache/hosted/pub.flutter-io.cn/url_launcher_web-0.1.1+6/","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_macos"]},{"name":"path_provider_macos","dependencies":[]},{"name":"share","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_macos","shared_preferences_web"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_macos"]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"webview_flutter","dependencies":[]}],"date_created":"2020-05-29 23:38:42.628178","version":"1.17.1"}
1+
{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\path_provider-1.6.24\\\\","dependencies":[]},{"name":"share","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\share-0.6.5+4\\\\","dependencies":[]},{"name":"shared_preferences","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\sqflite-1.3.2+1\\\\","dependencies":[]},{"name":"url_launcher","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\url_launcher-5.7.10\\\\","dependencies":[]},{"name":"webview_flutter","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\webview_flutter-1.0.7\\\\","dependencies":[]}],"android":[{"name":"path_provider","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\path_provider-1.6.24\\\\","dependencies":[]},{"name":"share","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\share-0.6.5+4\\\\","dependencies":[]},{"name":"shared_preferences","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\shared_preferences-0.5.12+4\\\\","dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\sqflite-1.3.2+1\\\\","dependencies":[]},{"name":"url_launcher","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\url_launcher-5.7.10\\\\","dependencies":[]},{"name":"webview_flutter","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\webview_flutter-1.0.7\\\\","dependencies":[]}],"macos":[{"name":"path_provider_macos","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\path_provider_macos-0.0.4+6\\\\","dependencies":[]},{"name":"shared_preferences_macos","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\shared_preferences_macos-0.0.1+11\\\\","dependencies":[]},{"name":"sqflite","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\sqflite-1.3.2+1\\\\","dependencies":[]},{"name":"url_launcher_macos","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\url_launcher_macos-0.0.1+9\\\\","dependencies":[]}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\path_provider_linux-0.0.1+2\\\\","dependencies":[]},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\shared_preferences_linux-0.0.2+4\\\\","dependencies":["path_provider_linux"]},{"name":"url_launcher_linux","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\url_launcher_linux-0.0.1+4\\\\","dependencies":[]}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\path_provider_windows-0.0.4+3\\\\","dependencies":[]},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\shared_preferences_windows-0.0.1+3\\\\","dependencies":["path_provider_windows"]},{"name":"url_launcher_windows","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\url_launcher_windows-0.0.1+3\\\\","dependencies":[]}],"web":[{"name":"shared_preferences_web","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\shared_preferences_web-0.1.2+7\\\\","dependencies":[]},{"name":"url_launcher_web","path":"C:\\\\Users\\\\thl\\\\AppData\\\\Roaming\\\\Pub\\\\Cache\\\\hosted\\\\pub.flutter-io.cn\\\\url_launcher_web-0.1.5+1\\\\","dependencies":[]}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_macos","path_provider_linux","path_provider_windows"]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_macos","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"share","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_linux","shared_preferences_macos","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_macos","dependencies":[]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"sqflite","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_web","url_launcher_linux","url_launcher_macos","url_launcher_windows"]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":[]}],"date_created":"2020-11-25 14:14:30.239482","version":"1.23.0-18.1.pre"}

README.md

Lines changed: 8 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -345,11 +345,11 @@ double adapterSize = ScreenUtil.getAdapterSizeCtx(context, 100)
345345

346346
|主界面|启动页|侧滑Back|
347347
|:---:|:---:|:---:|
348-
|<img src="https://gitee.com/uploads/images/2019/0506/004903_0837c169_506864.gif" width="240" />|<img src="https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/splash.gif" width="240"/>|<img src="https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/slide_back.gif" width="240"/>|
348+
|![](https://gitee.com/uploads/images/2019/0506/004903_0837c169_506864.gif)|![](https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/splash.gif")|![](https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/slide_back.gif")|
349349
|快速滚动到顶部|分类页面|国际化|
350-
|<img src="https://gitee.com/uploads/images/2019/0506/004903_0837c169_506864.gif" width="240"/>|<img src="https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/tree.gif" width="240"/>|<img src="https://gitee.com/uploads/images/2019/0506/004906_f1f1147e_506864.gif" width="240"/>|
350+
|![](https://gitee.com/uploads/images/2019/0506/004903_0837c169_506864.gif")|![](https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/tree.gif")|![](https://gitee.com/uploads/images/2019/0506/004906_f1f1147e_506864.gif")|
351351
|主题色|闪屏广告页|引导页|
352-
|<img src="https://gitee.com/uploads/images/2019/0506/004907_498b0fb8_506864.gif" width="240"/>|<img src="https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/2018-11-23_13_05_08.gif" width="240"/>|<img src="https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/2018-11-19_12_35_32.gif" width="240"/>|
352+
|![](https://gitee.com/uploads/images/2019/0506/004907_498b0fb8_506864.gif")|![](https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/2018-11-23_13_05_08.gif")|![](https://raw.githubusercontent.com/Sky24n/LDocuments/master/AppImgs/flutter_wanandroid/2018-11-19_12_35_32.gif")|
353353

354354
### Thanks
355355
① 感谢鸿洋大佬提供的[开源api](http://www.wanandroid.com/blog/show/2)
@@ -369,51 +369,10 @@ iOS:请自行clone项目代码运行。
369369
GitHub : [Sky24n](https://github.com/Sky24n)
370370
简书 &nbsp;&nbsp;&nbsp;&nbsp;: [Sky24n](https://www.jianshu.com/u/cbf2ad25d33a)
371371
掘金 &nbsp;&nbsp;&nbsp;&nbsp;: [Sky24n](https://juejin.im/user/5b9e8a92e51d453df0440422/posts)
372-
Email &nbsp;&nbsp;: [email protected]
373-
⭐⭐⭐ 如果您觉得本项目不错的话,来个star支持下作者吧! ⭐⭐⭐
374-
关于项目任何问题请提交[issues](https://github.com/Sky24n/flutter_wanandroid/issues),私发QQ邮件将不再回复~
372+
Email &nbsp;&nbsp;: [email protected]
375373

376-
⭐⭐⭐ 最新开源 ⭐⭐⭐
377-
[nine_grid_view](https://juejin.im/post/5ee825ab5188251f3f07af75)
378-
Flutter仿微信/微博九宫格、拖拽排序,钉钉群组,微信群组头像。
374+
### [Moss](https://github.com/Sky24n/Moss)
375+
Flutter百度地图Demo,下载地址:[网盘: m5e2](https://pan.baidu.com/s/1rIQBs6rHvcz9WgkgEmO1NQ)
379376

380-
⭐⭐⭐ 个人作品 ⭐⭐⭐
381-
[Fitness](https://juejin.im/post/5ebd74b5f265da7bbd2f9aa6)
382-
Flutter开发的微博客户端,同时支持Android和iOS。与官方微博x9.99%相似度体验,离线模式,多语言支持,主题随心换,超乎想象的流畅度,各种惊喜的细节等待你一一发现。
383-
384-
385-
Flutter仿微博客户端 [Flutter Weibo](https://github.com/Sky24n/Fitness)
386-
387-
[![GitHub stars](https://img.shields.io/github/stars/Sky24n/Fitness.svg?style=social&label=Star)](https://github.com/Sky24n/Fitness)
388-
389-
Flutter仿微信/微博九宫格 [NineGridView](https://github.com/flutterchina/nine_grid_view)
390-
391-
[![GitHub stars](https://img.shields.io/github/stars/flutterchina/nine_grid_view.svg?style=social&label=Star)](https://github.com/flutterchina/nine_grid_view)
392-
393-
Flutter版玩安卓 [flutter_wanandroid](https://github.com/Sky24n/flutter_wanandroid)
394-
395-
[![GitHub stars](https://img.shields.io/github/stars/Sky24n/flutter_wanandroid.svg?style=social&label=Star)](https://github.com/Sky24n/flutter_wanandroid)
396-
397-
Flutter仿滴滴出行 [GreenTravel](https://github.com/Sky24n/GreenTravel)
398-
399-
[![GitHub stars](https://img.shields.io/github/stars/Sky24n/GreenTravel.svg?style=social&label=Star)](https://github.com/Sky24n/GreenTravel)
400-
401-
Flutter常用工具类库 [flustars](https://github.com/Sky24n/flustars)
402-
403-
[![GitHub stars](https://img.shields.io/github/stars/Sky24n/flustars.svg?style=social&label=Star)](https://github.com/Sky24n/flustars)
404-
405-
Dart常用工具类库 [common_utils](https://github.com/Sky24n/common_utils)
406-
407-
[![GitHub stars](https://img.shields.io/github/stars/Sky24n/common_utils.svg?style=social&label=Star)](https://github.com/Sky24n/common_utils)
408-
409-
Flutter城市列表 [azlistview](https://github.com/flutterchina/azlistview)
410-
411-
[![GitHub stars](https://img.shields.io/github/stars/flutterchina/azlistview.svg?style=social&label=Star)](https://github.com/flutterchina/azlistview)
412-
413-
Flutter汉字转拼音库 [lpinyin](https://github.com/flutterchina/lpinyin)
414-
415-
[![GitHub stars](https://img.shields.io/github/stars/flutterchina/lpinyin.svg?style=social&label=Star)](https://github.com/flutterchina/lpinyin)
416-
417-
Flutter国际化库 [fluintl](https://github.com/Sky24n/fluintl)
418-
419-
[![GitHub stars](https://img.shields.io/github/stars/Sky24n/fluintl.svg?style=social&label=Star)](https://github.com/Sky24n/fluintl)
377+
|![](https://s1.ax1x.com/2020/11/08/BTak38.png)|![](https://s1.ax1x.com/2020/11/08/BTa6DH.png)|![](https://s1.ax1x.com/2020/11/08/BTaeBj.png)|
378+
|:---:|:---:|:---:|

android/app/build.gradle

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ apply plugin: 'com.android.application'
2525
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2626

2727
android {
28-
compileSdkVersion 28
28+
compileSdkVersion 29
2929

3030
lintOptions {
3131
disable 'InvalidPackage'
@@ -35,7 +35,7 @@ android {
3535
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
3636
applicationId "com.thl.flutterwanandroid"
3737
minSdkVersion 16
38-
targetSdkVersion 28
38+
targetSdkVersion 29
3939
versionCode flutterVersionCode.toInteger()
4040
versionName flutterVersionName
4141
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
@@ -52,10 +52,4 @@ android {
5252

5353
flutter {
5454
source '../..'
55-
}
56-
57-
dependencies {
58-
testImplementation 'junit:junit:4.12'
59-
androidTestImplementation 'com.android.support.test:runner:1.0.2'
60-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
61-
}
55+
}

android/app/src/main/AndroidManifest.xml

Lines changed: 26 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,42 @@
55
flutter needs it to communicate with the running application
66
to allow setting breakpoints, to provide hot reload, etc.
77
-->
8-
<uses-permission android:name="android.permission.INTERNET"/>
9-
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
8+
<uses-permission android:name="android.permission.INTERNET" />
109

11-
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
12-
calls FlutterMain.startInitialization(this); in its onCreate method.
13-
In most cases you can leave this as-is, but you if you want to provide
14-
additional functionality it is fine to subclass or reimplement
15-
FlutterApplication and put your custom class here. -->
1610
<application
17-
android:name="io.flutter.app.FlutterApplication"
18-
android:label="flutter_wanandroid"
19-
android:icon="@mipmap/ic_launcher_new">
11+
android:icon="@mipmap/ic_launcher_new"
12+
android:label="flutter_wanandroid">
2013
<activity
2114
android:name=".MainActivity"
15+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
16+
android:hardwareAccelerated="true"
2217
android:launchMode="singleTop"
2318
android:theme="@style/LaunchTheme"
24-
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
25-
android:hardwareAccelerated="true"
2619
android:windowSoftInputMode="adjustResize">
27-
<!-- This keeps the window background of the activity showing
28-
until Flutter renders its first frame. It can be removed if
29-
there is no splash screen (such as the default splash screen
30-
defined in @style/LaunchTheme). -->
20+
<!-- Specifies an Android theme to apply to this Activity as soon as
21+
the Android process has started. This theme is visible to the user
22+
while the Flutter UI initializes. After that, this theme continues
23+
to determine the Window background behind the Flutter UI. -->
24+
<meta-data
25+
android:name="io.flutter.embedding.android.NormalTheme"
26+
android:resource="@style/NormalTheme" />
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. -->
3132
<meta-data
32-
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
33-
android:value="true" />
33+
android:name="io.flutter.embedding.android.SplashScreenDrawable"
34+
android:resource="@drawable/launch_background" />
3435
<intent-filter>
35-
<action android:name="android.intent.action.MAIN"/>
36-
<category android:name="android.intent.category.LAUNCHER"/>
36+
<action android:name="android.intent.action.MAIN" />
37+
<category android:name="android.intent.category.LAUNCHER" />
3738
</intent-filter>
3839
</activity>
40+
<!-- Don't delete the meta-data below.
41+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
42+
<meta-data
43+
android:name="flutterEmbedding"
44+
android:value="2" />
3945
</application>
4046
</manifest>
Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
11
package com.thl.flutterwanandroid;
22

3-
import android.os.Bundle;
4-
import io.flutter.app.FlutterActivity;
5-
import io.flutter.plugins.GeneratedPluginRegistrant;
3+
import io.flutter.embedding.android.FlutterActivity;
64

75
public class MainActivity extends FlutterActivity {
8-
@Override
9-
protected void onCreate(Bundle savedInstanceState) {
10-
super.onCreate(savedInstanceState);
11-
GeneratedPluginRegistrant.registerWith(this);
12-
}
136
}
7+

0 commit comments

Comments
 (0)