Skip to content

Instantly share code, notes, and snippets.

View akahnn's full-sized avatar

Abdullah Kahn akahnn

  • New York, NY
View GitHub Profile
@akahnn
akahnn / Better Swiping & Retention
Last active January 25, 2019 21:21
Better Swiping & Retention
Solutions For Retaining New Users When No Matches
When no matches:
-Every time the remaining matches dip below 10 it gives the user 100 more swipes (along with a solution to stop swiping too fast)
-Instead of a 12 hours wait for , make it way less.
-Educate the user on how to make their profile better or other tips (could be educational push notifications)
-Show testimonials from past users to motivate the user to keep using
-If a user has never had a match and some time has passed by give the user free premium for a month (hinge does that) or Free Telegrams
try {
const x = await purchaseHandler.p(profile, receiptData)
if (x) {
res.status(200).send(profile.premium)
return
} else {
profile.updateAttributes({ premium: false })
}
} catch (ex) {
console.error('[PURCHASE] IOS SUB VERIFICATION ERROR', ex)
aws --endpoint http://localhost:9324 sqs create-queue --queue-name premium
aws --endpoint http://localhost:9324 sqs create-queue --queue-name match
aws --endpoint http://localhost:9324 sqs create-queue --queue-name metrics
aws --endpoint http://localhost:9324 sqs create-queue --queue-name swipes
@akahnn
akahnn / ViewController.m
Last active October 19, 2018 19:46
OL Coding Challenge
//
// ViewController.m
// OL_Coding_One
//
// Created by Abdullah Kahn on 10/19/18.
// Copyright © 2018 Sifted. All rights reserved.
//
#import "ViewController.h"