Skip to content

Instantly share code, notes, and snippets.

View JKalash's full-sized avatar
🏠
Working from home

Joe Kalash JKalash

🏠
Working from home
View GitHub Profile
@JKalash
JKalash / JKTrilateration.swift
Last active June 11, 2019 09:04
Trilateration algorithm in Swift 3. [Requires VectorMath.swift]
//
// JKTrilateration
//
// Created by Joseph Kalash on 6/9/17.
// Copyright © 2017 Joseph Kalash. All rights reserved.
//
import Foundation
extension Double {
@jkasten2
jkasten2 / README.MD
Last active June 13, 2020 01:10
Use a local OneSignal SDK .aar file with Android Studio

Using a local onesignal.aar file

  1. Create a libs folder under the app directory in your project.
  2. Place onesignal.aar in the newly created app/libs directory.
  3. Open your project's root build.gradle file and add the folowing under repositories {...}.
flatDir {
  dirs 'libs'
}
  1. Open your app/build.gradle.