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
using System; | |
using UnityEngine; | |
using UnityEngine.Purchasing; | |
public class MyStoreClass : MonoBehaviour, IStoreListener | |
{ | |
// Loading the sku of the parent subscription so we can get the receipt later. Unity IAP won't return receipts | |
// for the "subcription term" skus. The receipt is always null for subscription terms. | |
// https://answers.unity.com/questions/1367978/unity-iap-amazon-subscriptions.html |
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 'package:flutter/material.dart'; | |
import 'dart:async'; | |
import 'package:flutter/services.dart'; | |
import 'package:purchases_flutter/purchases_flutter.dart'; | |
void main() { | |
runApp(MaterialApp( | |
title: 'RevenueCat Sample', | |
home: InitialScreen(), |
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
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// default font size in pixels for all tabs | |
fontSize: 17, | |
// font family with optional fallbacks |
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
# Note: ~/.ssh/environment should not be used, as it | |
# already has a different purpose in SSH. | |
env=~/.ssh/agent.env | |
# Note: Don't bother checking SSH_AGENT_PID. It's not used | |
# by SSH itself, and it might even be incorrect | |
# (for example, when using agent-forwarding over SSH). | |
agent_is_running() { |
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 logging | |
import os | |
# Add appengine stuff to path | |
import dev_appserver as script | |
script.fix_sys_path() | |
from google.appengine.api import yaml_errors | |
from google.appengine.tools import dev_appserver | |
from google.appengine.tools import dev_appserver_main as main |