Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
2b02280
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
d155f57
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
0a53223
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
15d7c65
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
feda7ab
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
5a08197
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
9e8032f
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
a342044
renamed VerifiedLocationData
cameron-morrow-toptal Aug 20, 2025
6daf598
renaming, fixed demo, removed metadata settings
cameron-morrow-toptal Aug 22, 2025
a637d1d
more renaming
cameron-morrow-toptal Aug 25, 2025
d65020a
disabled location permission requst on startup
cameron-radar Sep 17, 2025
efa1e9a
added request location permissions method
cameron-radar Sep 17, 2025
2704a9e
removed textmesh pro dependency
cameron-radar Sep 17, 2025
66bf9c7
fixed track verified signature
cameron-radar Sep 18, 2025
dd688c3
removed unity package from tracking
cameron-radar Sep 18, 2025
b033fba
Merge branch 'main' of github.com:radarlabs/unity-radar into cleanup
cameron-radar Sep 23, 2025
dd3ea53
fixed duplicate ci trigger
cameron-radar Sep 23, 2025
5424ffd
added events to ios
cameron-radar Oct 8, 2025
e400d7a
added events to android
cameron-radar Oct 9, 2025
d656dfb
cleanup
cameron-radar Oct 9, 2025
9dd25c6
cleanup
cameron-radar Oct 9, 2025
a667bc3
updated gitignore
cameron-radar Oct 9, 2025
6a7cabd
cleaned up android
cameron-radar Oct 10, 2025
fef8fbe
cleanup, updated readme and migration
cameron-radar Oct 10, 2025
543e0fe
upgraded sdk version to 3.23.3/4
cameron-radar Oct 13, 2025
094cf1b
added webgl integration
cameron-radar Oct 14, 2025
4e84ebf
updated models
cameron-radar Oct 15, 2025
7cee165
cleaned up dependencies
cameron-radar Oct 15, 2025
e125c16
updated readme
cameron-radar Oct 15, 2025
5fe393a
added trackOnce
cameron-radar Oct 15, 2025
d4a1b9f
fixing release pipeline
cameron-radar Nov 3, 2025
f171ad5
fixing release pipeline
cameron-radar Nov 3, 2025
ca4c7cc
fixing release pipeline
cameron-radar Nov 3, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 5 additions & 1 deletion .github/workflows/unity-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: Build project

on: [push, pull_request]
on:
push:
branches:
- main
pull_request:

jobs:
buildForAllSupportedPlatforms:
Expand Down
14 changes: 2 additions & 12 deletions .github/workflows/unity-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ jobs:
fetch-depth: 0
lfs: true

# 3. Cache the Library folder (optional)
- uses: actions/cache@v3
with:
path: Library
key: Library-standalone
restore-keys: Library-

# 5. Run Unity to export the .unitypackage
- name: Export Unity Package
uses: game-ci/unity-builder@v4
Expand All @@ -35,11 +28,8 @@ jobs:
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
targetPlatform: StandaloneLinux64
unityVersion: 6000.0.35f1
dockerImage: unityci/editor-ubuntu-6000.0.35f1-base-3.1.0
customParameters: >
-nographics -logFile unity_export.log -ignoreCompilerErrors
-exportPackage "Assets/ExternalDependencyManager" "Assets/Plugins" "Assets/Radar" "Assets/Settings" "Packages/com.unity.textmeshpro" "RadarUnitySDK.unitypackage"
buildMethod: ExportPackage.Run
customParameters: -quit -batchmode -nographics

# 6. Upload the .unitypackage to the GitHub Release
- name: Upload release asset
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
RadarUnitySDK.unitypackage

# This .gitignore file should be placed at the root of your Unity project directory
#
# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore
Expand Down Expand Up @@ -69,3 +71,5 @@ crashlytics-build.properties
# Temporary auto-generated Android Assets
/[Aa]ssets/[Ss]treamingAssets/aa.meta
/[Aa]ssets/[Ss]treamingAssets/aa/*

.DS_Store
2 changes: 1 addition & 1 deletion Assets/Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Assets/Editor/ExportPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ public static void Run()
"Assets/Plugins",
"Assets/Radar",
"Assets/Settings",
"Packages/com.unity.textmeshpro",
};

AssetDatabase.ExportPackage(assetPaths, packagePath, ExportPackageOptions.Recurse);
Expand Down
Binary file added Assets/Plugins/Android/sdk-3.23.3.aar
Binary file not shown.
2 changes: 2 additions & 0 deletions Assets/Plugins/Android/sdk-3.23.3.aar.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file removed Assets/Plugins/Android/sdk-release.aar
Binary file not shown.
2 changes: 0 additions & 2 deletions Assets/Plugins/Android/sdk-release.aar.meta

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
package io.radar.sdk;

import android.content.Context;
import android.location.Location;
import io.radar.sdk.Radar.RadarStatus;
import io.radar.sdk.Radar.RadarLocationSource;
import io.radar.sdk.model.RadarUser;
import io.radar.sdk.RadarReceiver;
import io.radar.sdk.model.RadarEvent;

public class CustomReceiver extends RadarReceiver {

// Define a listener interface for token updates
public interface Listener {
void onLog(Context context, String message);
void onError(Context context, RadarStatus status);
}

private Listener listener;

public CustomReceiver(Listener listener) {
this.listener = listener;
}

@Override
public void onLog(Context context, String message) {
if (listener != null) {
listener.onLog(context, message);
}
}

@Override
public void onError(Context context, RadarStatus status) {
if (listener != null) {
listener.onError(context, status);
}
}

@Override
public void onClientLocationUpdated(Context context, Location location, boolean stopped, RadarLocationSource source) {
// if (listener != null) {
// listener.onClientLocationUpdated(context, location, stopped, source);
// }
}

@Override
public void onLocationUpdated(Context context, Location location, RadarUser user) {
// if (listener != null) {
// listener.onLocationUpdated(context, location, user);
// }
}

@Override
public void onEventsReceived(Context context, RadarEvent[] events, RadarUser user) {
// if (listener != null) {
// listener.onEventsReceived(context, events, user);
// }
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Assets/Plugins/IOS/RadarSDK-3.23.4.xcframework.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
//
// Radar-Swift.h
// RadarSDK
//
// Copyright © 2025 Radar Labs, Inc. All rights reserved.
//

#if __has_include(<RadarSDK/RadarSDK-Swift.h>)
#import <RadarSDK/RadarSDK-Swift.h>
#elif __has_include("RadarSDK-Swift.h")
#import "RadarSDK-Swift.h"
#endif
Loading
Loading