This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const crypto = require('crypto') | |
const decryptData = async (installReferrerString, decryptionKey) => { | |
try { | |
const ALGORITHM = 'aes-256-gcm' | |
// Step 1: Decode the URI | |
const decodedUri = decodeURIComponent(installReferrerString) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { AppRegistry } from 'react-native'; | |
import App from './App'; | |
AppRegistry.registerComponent('weatherApp', () => App); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { Platform, StyleSheet, Text, View } from 'react-native'; | |
import AppNavigator from './src/config/routes' | |
export default class App extends Component { | |
render() { | |
return ( | |
<AppNavigator /> | |
); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react' | |
import { TabNavigator, StackNavigator, TabBarBottom } from 'react-navigation'; | |
import Splash from '../screens/Splash' | |
import Login from '../screens/Login' | |
import Home from '../screens/Home' | |
import Weather from '../screens/Weather' | |
import Details from '../screens/Details' | |
import Average from '../screens/Average' | |
import AverageGraph from '../screens/AverageGraph' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
function confirm() { | |
var pass1 = document.getElementById("passOne").value; | |
var pass2 = document.getElementById("passTwo").value; | |
if (pass1 != pass2) { | |
document.getElementById("passOne").style.borderColor = "#E34234"; | |
document.getElementById("passTwo").style.borderColor = "#E34234"; | |
alert("Password Don't Match"); | |
} else { | |
alert("Passwords Match"); |