Skip to content

Instantly share code, notes, and snippets.

@phrozenra
phrozenra / lambda.js
Last active October 11, 2022 20:10
Google in app purchase validation using AWS Lambda
import ApiBuilder from "claudia-api-builder";
import fetch from "node-fetch";
import FormData from "form-data";
let api = new ApiBuilder();
const verifyAndroidReceipt = req => {
// setup credentials
const config = {
client_id: "<fill in>",
@phrozenra
phrozenra / login-navigator.js
Created February 17, 2017 17:04
react-navigation: full screen background with transparent status bar and nav bar
import React from 'react'
import { StackNavigator } from 'react-navigation'
import { Image, StatusBar, Platform } from 'react-native'
import SignInScreen from './signin'
import LoginScreen from './login'
import RegisterScreen from './register'
import ForgotPasswordScreen from './forgot-password'
import Styles from '../../styles/login'