Skip to main content

Radar Integration: "Track Once" Action Shows "Radar Not Found in the Builder" Error

Updated over 2 weeks ago

Radar is a powerful location-based platform that allows developers to integrate GPS tracking, address autocomplete, and location-based analytics into their Android and iOS apps. One of its key features is the "Track Once" action, which captures the user's current latitude and longitude at the moment they trigger the action.

However, while using this feature in Glide, you might encounter an error message:
"Radar not found in the builder."

Why This Happens

This error typically occurs for one of the following reasons:

  1. No location data is available on the screen.
    Radar requires access to a location context in order to function. If there's no Location component on the same screen as the Track Once button, Radar doesn’t have any source to detect the user’s current position.

  2. User has not granted location permissions.
    If the app user has not enabled location services on their device, Radar will not be able to retrieve location data and will throw this error.

Solution

To resolve the “Radar not found in the builder” error:

  • Add a Location component on the same screen as the Radar Track Once action. This ensures the app has an active method to access the user’s coordinates.

  • Prompt users to enable location services on their device before using the feature. Without user permission, the location data required by Radar cannot be obtained.

Best Practices

  • Clearly inform users that your app requires location access.

  • Use conditional visibility or messages to prompt users to enable location permissions if not already granted.

  • Test your Radar integration on devices with location services both enabled and disabled to understand the user experience in different scenarios.

By ensuring proper setup and user permissions, you can fully leverage Radar’s capabilities for accurate and responsive location tracking in your app.

Did this answer your question?