Skip to content

Commit 8cabec4

Browse files
committed
Initial PWA
1 parent ed1d67c commit 8cabec4

File tree

6 files changed

+26336
-11132
lines changed

6 files changed

+26336
-11132
lines changed

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,9 @@ import {liquidwallet as LiquidWallet } from './src/app/LW/send';
1212
import {wallet as Wallet } from './src/app/W/send';
1313
import {SilentPaymentGroup as SilentPaymentGroup } from './src/app/SP/send';
1414
import {HDWallet as HDWallet} from '.src/app/HDWallet';
15+
import * as serviceWorkerRegistration from './serviceWorkerRegistration';
16+
17+
serviceWorkerRegistration.register();
18+
1519

1620
AppRegistry.registerComponent(appName, () => App);

index.web.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { AppRegistry } from 'react-native';
2+
import App from './App';
3+
import { name as appName } from './app.json';
4+
import { render } from 'react-dom';
5+
6+
AppRegistry.registerComponent(appName, () => App);
7+
AppRegistry.runApplication(appName, {
8+
initialProps: {},
9+
rootTag: document.getElementById('root')
10+
});

0 commit comments

Comments
 (0)