Mobile app PoC (#281)

Initial checkin of mobile "native" app
This commit is contained in:
Zef Hemel
2023-01-08 12:24:12 +01:00
committed by GitHub
parent dc7de9d8f9
commit 0365673c41
61 changed files with 5190 additions and 155 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ export class PlugSpacePrimitives implements SpacePrimitives {
constructor(
private wrapped: SpacePrimitives,
private hook: PageNamespaceHook,
private env: string,
private env?: string,
) {}
performOperation(
@@ -25,7 +25,7 @@ export class PlugSpacePrimitives implements SpacePrimitives {
) {
if (
operation === type && pageName.match(pattern) &&
(env ? env === this.env : true)
(!this.env || (env && env === this.env))
) {
return plug.invoke(name, [pageName, ...args]);
}