-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathindex.js
More file actions
24 lines (21 loc) · 695 Bytes
/
index.js
File metadata and controls
24 lines (21 loc) · 695 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import "node-libs-react-native/globals.js";
import { AppRegistry, LogBox } from "react-native";
import { Root } from "./src/Root";
import { name as appName } from "./app.json";
import {
isSslPinningAvailable,
initializeSslPinning
} from "react-native-ssl-public-key-pinning";
if (isSslPinningAvailable()) {
void initializeSslPinning({
"api.swiss-bitcoin-pay.ch": {
includeSubdomains: false,
publicKeyHashes: [
"GPC87Im4qy67XPovXRcnZlNRbNNpyuK3EWbzGPy+1+A=",
"3fLLVjRIWnCqDqIETU2OcnMP7EzmN/Z3Q/jQ8cIaAoc="
]
}
});
}
LogBox.ignoreLogs(["Warning: Failed prop type: Invalid props.style key"]);
AppRegistry.registerComponent(appName, () => Root);