docs: Fix Frame Processor install step and QualityPrioritization Order (#451)

* fix: switched incorrect property ordering for qualityPrioritization options

fix: added extra step required for create frame processing plugin on Android

* fix: adjusted the highlighted line

* chore: added guidelines on how to generate and check docs updares

* chore: change instructions so they aren't so unnecessarily wordy! :P
This commit is contained in:
alexstanbury
2021-09-24 09:15:26 +01:00
committed by GitHub
parent be3312e47d
commit ef40b1db23
3 changed files with 35 additions and 2 deletions

View File

@@ -75,6 +75,19 @@ public class QRCodeFrameProcessorPluginPackage implements ReactPackage {
}
```
6. Register the package in MainApplication.java
```java {6}
@Override
protected List<ReactPackage> getPackages() {
@SuppressWarnings("UnnecessaryLocalVariable")
List<ReactPackage> packages = new PackageList(this).getPackages();
...
packages.add(new QRCodeFrameProcessorPluginPackage()); // <- add
return packages;
}
```
</TabItem>
<TabItem value="kotlin">
@@ -121,6 +134,19 @@ class QRCodeFrameProcessorPluginPackage : ReactPackage {
}
```
6. Register the package in MainApplication.java
```java {6}
@Override
protected List<ReactPackage> getPackages() {
@SuppressWarnings("UnnecessaryLocalVariable")
List<ReactPackage> packages = new PackageList(this).getPackages();
...
packages.add(new QRCodeFrameProcessorPluginPackage()); // <- add
return packages;
}
```
</TabItem>
</Tabs>