check if its PWA
This commit is contained in:
parent
b161d5b4b5
commit
67958dae42
4 changed files with 105 additions and 16 deletions
|
|
@ -55,7 +55,8 @@ class _MzanziInnovationHubState extends State<MzanziInnovationHub> {
|
|||
}
|
||||
|
||||
void setPlatformSpecificPlugins() {
|
||||
if (theme.getPlateform() == "Android" || theme.getPlateform() == "IOS") {
|
||||
print("is PWA: ${theme.isPwa()}");
|
||||
if (theme.isPwa()) {
|
||||
disableScreenshot();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue