Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
1613a62e
Unverified
Commit
1613a62e
authored
Jan 09, 2020
by
Jason Simmons
Committed by
GitHub
Jan 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate some more integration tests to Android embedding v2 (#48532)
parent
169f1579
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
16 deletions
+30
-16
AndroidManifest.xml
...ts/image_loading/android/app/src/main/AndroidManifest.xml
+5
-0
MainActivity.java
...ava/com/yourcompany/platforminteraction/MainActivity.java
+5
-6
AndroidManifest.xml
...lease_smoke_test/android/app/src/main/AndroidManifest.xml
+5
-0
MainActivity.java
...ain/java/com/example/release_smoke_test/MainActivity.java
+5
-5
AndroidManifest.xml
...gration_tests/ui/android/app/src/main/AndroidManifest.xml
+5
-0
MainActivity.java
...ain/java/com/yourcompany/integration_ui/MainActivity.java
+5
-5
No files found.
dev/integration_tests/image_loading/android/app/src/main/AndroidManifest.xml
View file @
1613a62e
...
...
@@ -28,5 +28,10 @@ found in the LICENSE file. -->
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name=
"flutterEmbedding"
android:value=
"2"
/>
</application>
</manifest>
dev/integration_tests/image_loading/android/app/src/main/java/com/yourcompany/platforminteraction/MainActivity.java
View file @
1613a62e
...
...
@@ -4,15 +4,14 @@
package
com
.
yourcompany
.
platforminteraction
;
import
android.os.Bundle
;
import
io.flutter.app.FlutterActivity
;
import
androidx.annotation.NonNull
;
import
io.flutter.embedding.android.FlutterActivity
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
import
io.flutter.view.FlutterView
;
public
class
MainActivity
extends
FlutterActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
GeneratedPluginRegistrant
.
registerWith
(
this
);
public
void
configureFlutterEngine
(
@NonNull
FlutterEngine
flutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
}
dev/integration_tests/release_smoke_test/android/app/src/main/AndroidManifest.xml
View file @
1613a62e
...
...
@@ -33,5 +33,10 @@ found in the LICENSE file. -->
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name=
"flutterEmbedding"
android:value=
"2"
/>
</application>
</manifest>
dev/integration_tests/release_smoke_test/android/app/src/main/java/com/example/release_smoke_test/MainActivity.java
View file @
1613a62e
...
...
@@ -4,14 +4,14 @@
package
com
.
example
.
release_smoke_test
;
import
android.os.Bundle
;
import
io.flutter.app.FlutterActivity
;
import
androidx.annotation.NonNull
;
import
io.flutter.embedding.android.FlutterActivity
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
public
class
MainActivity
extends
FlutterActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
GeneratedPluginRegistrant
.
registerWith
(
this
);
public
void
configureFlutterEngine
(
@NonNull
FlutterEngine
flutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
}
dev/integration_tests/ui/android/app/src/main/AndroidManifest.xml
View file @
1613a62e
...
...
@@ -28,5 +28,10 @@ found in the LICENSE file. -->
<category
android:name=
"android.intent.category.LAUNCHER"
/>
</intent-filter>
</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name=
"flutterEmbedding"
android:value=
"2"
/>
</application>
</manifest>
dev/integration_tests/ui/android/app/src/main/java/com/yourcompany/integration_ui/MainActivity.java
View file @
1613a62e
...
...
@@ -4,14 +4,14 @@
package
com
.
yourcompany
.
integration_ui
;
import
android.os.Bundle
;
import
io.flutter.app.FlutterActivity
;
import
androidx.annotation.NonNull
;
import
io.flutter.embedding.android.FlutterActivity
;
import
io.flutter.embedding.engine.FlutterEngine
;
import
io.flutter.plugins.GeneratedPluginRegistrant
;
public
class
MainActivity
extends
FlutterActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
GeneratedPluginRegistrant
.
registerWith
(
this
);
public
void
configureFlutterEngine
(
@NonNull
FlutterEngine
flutterEngine
)
{
GeneratedPluginRegistrant
.
registerWith
(
flutterEngine
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment