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
99987c22
Unverified
Commit
99987c22
authored
Dec 06, 2017
by
Ian Hickson
Committed by
GitHub
Dec 06, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update gallery for
https://github.com/flutter/flutter/pull/13195
(#13361)
parent
2c49240d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
GeneratedPluginRegistrant.java
...in/java/io/flutter/plugins/GeneratedPluginRegistrant.java
+6
-0
GeneratedPluginRegistrant.m
...es/flutter_gallery/ios/Runner/GeneratedPluginRegistrant.m
+6
-0
No files found.
examples/flutter_gallery/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
View file @
99987c22
package
io
.
flutter
.
plugins
;
import
io.flutter.plugin.common.PluginRegistry
;
import
io.flutter.plugins.connectivity.ConnectivityPlugin
;
import
io.flutter.plugins.deviceinfo.DeviceInfoPlugin
;
import
io.flutter.plugins.urllauncher.UrlLauncherPlugin
;
import
io.flutter.videoplayer.VideoPlayerPlugin
;
/**
* Generated file. Do not edit.
*/
public
final
class
GeneratedPluginRegistrant
{
public
static
void
registerWith
(
PluginRegistry
registry
)
{
ConnectivityPlugin
.
registerWith
(
registry
.
registrarFor
(
"io.flutter.plugins.connectivity.ConnectivityPlugin"
));
DeviceInfoPlugin
.
registerWith
(
registry
.
registrarFor
(
"io.flutter.plugins.deviceinfo.DeviceInfoPlugin"
));
UrlLauncherPlugin
.
registerWith
(
registry
.
registrarFor
(
"io.flutter.plugins.urllauncher.UrlLauncherPlugin"
));
VideoPlayerPlugin
.
registerWith
(
registry
.
registrarFor
(
"io.flutter.videoplayer.VideoPlayerPlugin"
));
}
}
examples/flutter_gallery/ios/Runner/GeneratedPluginRegistrant.m
View file @
99987c22
...
...
@@ -3,12 +3,18 @@
//
#import "GeneratedPluginRegistrant.h"
#import <connectivity/ConnectivityPlugin.h>
#import <device_info/DeviceInfoPlugin.h>
#import <url_launcher/UrlLauncherPlugin.h>
#import <video_player/VideoPlayerPlugin.h>
@implementation
GeneratedPluginRegistrant
+
(
void
)
registerWithRegistry
:(
NSObject
<
FlutterPluginRegistry
>*
)
registry
{
[
ConnectivityPlugin
registerWithRegistrar
:[
registry
registrarForPlugin
:
@"ConnectivityPlugin"
]];
[
FLTDeviceInfoPlugin
registerWithRegistrar
:[
registry
registrarForPlugin
:
@"FLTDeviceInfoPlugin"
]];
[
UrlLauncherPlugin
registerWithRegistrar
:[
registry
registrarForPlugin
:
@"UrlLauncherPlugin"
]];
[
FLTVideoPlayerPlugin
registerWithRegistrar
:[
registry
registrarForPlugin
:
@"FLTVideoPlayerPlugin"
]];
}
@end
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