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:
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user