aboutsummaryrefslogtreecommitdiff
path: root/modern/src/index.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-06-13 16:58:11 -0700
committerAnton Tananaev <anton@traccar.org>2022-06-13 16:58:11 -0700
commite48d7264dec72c5daad3365e2127519fee0c8cd1 (patch)
tree7f1ea6e31d090dfaf36f62957440b418e45efc93 /modern/src/index.js
parent5a685addb8e1a9ff9b03399d3b06c3cc60d73e9b (diff)
downloadtrackermap-web-e48d7264dec72c5daad3365e2127519fee0c8cd1.tar.gz
trackermap-web-e48d7264dec72c5daad3365e2127519fee0c8cd1.tar.bz2
trackermap-web-e48d7264dec72c5daad3365e2127519fee0c8cd1.zip
Handle push notification tokens
Diffstat (limited to 'modern/src/index.js')
-rw-r--r--modern/src/index.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/modern/src/index.js b/modern/src/index.js
index dbbf2da4..bfbb5efe 100644
--- a/modern/src/index.js
+++ b/modern/src/index.js
@@ -13,6 +13,7 @@ import theme from './common/theme';
import Navigation from './Navigation';
import preloadImages from './map/core/preloadImages';
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
+import NativeInterface from './common/components/NativeInterface';
preloadImages();
@@ -31,6 +32,7 @@ ReactDOM.render(
<Navigation />
</BrowserRouter>
<ErrorHandler />
+ <NativeInterface />
</ThemeProvider>
</StyledEngineProvider>
</LocalizationProvider>