npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

react-native-here-mobility-sdk

v1.1.0

Published

Offical Here Mobility SDK for react native to access Here's marketplace features

Downloads

137

Readme

HERE Mobility React Native SDK

Introduction

HERE Mobility offers a mobility platform solution to transportation service providers, businesses, and consumers. The platform consists of the HERE Mobility Marketplace and SDK packages.

The HERE Mobility Marketplace is a "broker" between transportation suppliers and consumers, which matches up ride requests with ride offers. Using the HERE Mobility SDK, you can enable your users to book and manage ride services within your app.

The HERE Mobility React Native SDK allows you to add HERE Mobility features to your app using the React Native framework. This allows you to develop your app in Javascript, and compile it for either the iOS or Android environments.

Install the SDK with npm

To install the HERE Mobility React Native SDK using the npm package manager, run the following command:

$ npm install react-native-here-mobility-sdk --save

Link the SDK to your project

Automatic linkage with npm

To link the SDK to your project using the npm package manager, run the following commands:

$ npm i -g react-native-cli
$ react-native link react-native-here-mobility-sdk

Manual linkage

iOS

To link the SDK to your project manually in an iOS environment:

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name].
  2. Go to node_modulesreact-native-here-mobility-sdk and add RNHereMobilitySdk.xcodeproj.
  3. In XCode, in the project navigator, select your project. Add libRNHereMobilitySdk.a to your project's Build PhasesLink Binary With Libraries.

Android

To link the SDK to your project manually in an Android environment:

  1. Open the file android/app/src/main/java/[...]/MainActivity.java
  • Add import here.mobility.sdk.RNHereMobilitySdkPackage; to the imports at the beginning of the file.
  • Add new RNHereMobilitySdkPackage() to the list returned by the getPackages() method.
  1. Append the following lines to android/settings.gradle:
    include ':react-native-here-mobility-sdk'
    project(':react-native-here-mobility-sdk').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-here-mobility-sdk/android')
  2. Add the following line to the dependencies block in android/app/build.gradle:
      compile project(':react-native-here-mobility-sdk')

Configure and initialize HereMobilitySDK

iOS

Note: HereMobilitySDK is a dynamic framework. To use it, you must specify use_frameworks! in your project's podfile.

To configure and initialize HereMobilitySDK in an iOS environment:

  1. Follow the instruction in the HereMobilitySDK Installation Guide

  2. Run the following command:

    $ cd (node_modules/react-native-here-mobility-sdk/ios && pod install)
  3. Open your project's workspace; build and run your project.

Android

To configure and initialize HereMobilitySDK in an Android environment:

  1. Open your project in Android Studio.

  2. In your project’s root build.gradle, add the following lines to your repositories section:

    buildscript {
        repositories {
    		...
     		maven {
            	url 'https://maven.google.com/'
                name 'Google'
            }
    	}
    }
       
    allprojects {
        repositories {
    		...
    		maven {
    			url "https://mobility.bintray.com/sdk"
    		} 
            maven {
                url 'https://maven.google.com/'
                name 'Google'
            }
    	}
    }
  3. Follow the instruction in the HereMobilitySDK Installation Guide, steps 3.i through 3.viii.

Usage

To use the HERE Mobility SDK, add the following line to your app's Javascript code. Use the HereMobilitySDKDemand functions for ride booking and management.


const { HereMobilitySDKDemand , HereMobilitySDK } = require("react-native-here-mobility-sdk");