@opexa/portal-components 0.0.712 → 0.0.713

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,9 +14,6 @@ export const AndroidRoutingHandler = () => {
14
14
  App.exitApp(); // Exit app on Android when at root
15
15
  }
16
16
  });
17
- return () => {
18
- App.removeAllListeners();
19
- };
20
17
  }, [router, pathname]);
21
18
  return null;
22
19
  };
@@ -3,6 +3,7 @@ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-run
3
3
  import { Capacitor } from '@capacitor/core';
4
4
  import { SplashScreen } from '@capacitor/splash-screen';
5
5
  import { useEffect } from 'react';
6
+ import { Protected } from '../Protected/index.js';
6
7
  import { AddSafeArea } from './AddSafeArea.js';
7
8
  import { AndroidRoutingHandler } from './AndroidRoutingHandler.js';
8
9
  import PushNotification from './PushNotifications.js';
@@ -16,5 +17,5 @@ export function AppOnlyComponents() {
16
17
  }, [isNative]);
17
18
  if (!isNative)
18
19
  return null;
19
- return (_jsxs(_Fragment, { children: [_jsx(PushNotification, {}), _jsx(AndroidRoutingHandler, {}), _jsx(AddSafeArea, {})] }));
20
+ return (_jsxs(_Fragment, { children: [_jsx(Protected, { children: _jsx(PushNotification, {}) }), _jsx(AndroidRoutingHandler, {}), _jsx(AddSafeArea, {})] }));
20
21
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.712",
3
+ "version": "0.0.713",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",