# cordova-plugin-firebase-appindexing

> Push History to Google App Indexing for Cordova apps.

Latest version **1.0.1** (published 2016-12-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install cordova-plugin-firebase-appindexing
pnpm add cordova-plugin-firebase-appindexing
yarn add cordova-plugin-firebase-appindexing
bun add cordova-plugin-firebase-appindexing
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2016-12-22 |
| First published | 2016-12-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Prasanna Learnyst |
| Maintainers | prasannasks |
| Keywords | ecosystem:cordova, cordova-android, google app indexing, app indexing, firebase app indexing |

## Links

- npm: https://www.npmjs.com/package/cordova-plugin-firebase-appindexing
- Repository: https://github.com/shankar-mahesh/cordova-plugin-firebase-appindexing
- Homepage: https://github.com/shankar-mahesh/cordova-plugin-firebase-appindexing#readme
- Issues: https://github.com/shankar-mahesh/cordova-plugin-firebase-appindexing/issues
- npm.io page: https://npm.io/package/cordova-plugin-firebase-appindexing

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-12-22
- 1.0.0 — 2016-12-22

## README

# cordova-plugin-firebase-appindexing

## Installation
cordova plugin add cordova-plugin-firebase-appindexing

## Usage
##1 . IMPORTANT Ensure you have deeplinking in your application. If not kindly use https://github.com/nordnet/cordova-universal-links-plugin

##2
	i.   Create a firebase account 
	ii.  Add your android app to firebase account
	iii. Download google-services.json from firebase website and save in your cordova-app base folder

##3 Setup Appindexing

Initialise : 
```js
AppIndexing.initialize(function success(success){ /* success code */ }, function failure(failure){ /*failure code*/ }, 'http://example.com'); 
```

Start View :
```js
AppIndexing.startView(function success(success){ /* success code */ }, function failure(failure){ /*failure code*/ }, 'title of the view ', 'website_path');
```
do not give full URL only path

End View :
```js
AppIndexing.endView(function success(success){ /* success code */ }, function failure(failure){ /*failure code*/ }, 'title of the view ', 'website_path');
```
do not give full URL only path


## If cordova-plugin-firebase installed. Kindly comment <hook src="scripts/after_prepare.js" type="after_prepare" /> from plugin.xml file 

```xml
<hook src="scripts/after_prepare.js" type="after_prepare" />
```

---
_Source: https://npm.io/package/cordova-plugin-firebase-appindexing · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
