View decrypt.js
This file contains 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) |
View index.js
This file contains 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); |
View App.js
This file contains 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 /> | |
); | |
} |
View routes.js
This file contains 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' |
View reset.html
This file contains 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"); |