Last updated:
0 purchases
firebase app indexing
firebase_app_indexing #
A Flutter plugin integrating the official android SDK for firebase app indexing
To use the firebase_app_indexing plugin, follow the instructions stated to add firebase to your app
Usage #
Import package:firebase_app_indexing/firebase_app_indexing.dart
Example:
import 'package:firebase_app_indexing/firebase_app_indexing.dart';
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Column(
mainAxisAlignment: MainAxisAlignment.center,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
SizedBox(width: 600),
RaisedButton(
onPressed: () => FirebaseAppIndexing.start('Home', url),
child: Text('Start')),
RaisedButton(
onPressed: () => FirebaseAppIndexing.stop('Home', url),
child: Text('Stop')),
],
),
),
);
}
}
copied to clipboard
See FirebaseAppIndexing docs for details on implementation documentation for more information.
Android App Indexing
Firebase App Indexing
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.