Skip to content

Commit

Permalink
Merge pull request #9 from CanalTP/release-1.1.1
Browse files Browse the repository at this point in the history
🚀 Release 1.1.1
  • Loading branch information
EvenModiguy authored Feb 14, 2018
2 parents ddfdf83 + f85db5f commit e4aba5d
Show file tree
Hide file tree
Showing 7 changed files with 186 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cartfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
github "CanalTP/NavitiaSDK_ios" ~> 1.1.0
github "CanalTP/NavitiaSDK_ios" ~> 1.1.1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-plugin-navitia-sdk",
"version": "1.1.0",
"version": "1.1.1",
"description": "Cordova plugin for NavitiaSDK iOS & Android",
"cordova": {
"id": "org-kisio-plugins-navitia-sdk",
Expand Down
2 changes: 1 addition & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-plugin-navitia-sdk" version="1.1.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<plugin id="cordova-plugin-navitia-sdk" version="1.1.1" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>NavitiaSDK</name>

<js-module name="NavitiaSDK" src="www/NavitiaSDK.js">
Expand Down
2 changes: 1 addition & 1 deletion src/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ repositories {
}

dependencies {
compile 'org.kisio.sdk:navitia-sdk:1.0.0'
compile 'org.kisio.sdk:navitia-sdk:1.0.1'
}
56 changes: 56 additions & 0 deletions src/android/org/kisio/CDVNavitiaSDK/CDVNavitiaSDK.java
Original file line number Diff line number Diff line change
Expand Up @@ -8201,6 +8201,10 @@ public void run() {
// Param: maxCarDurationToPt, Type: Integer
graphicalIsochroneRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt")));
}
if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) {
// Param: maxRidesharingDurationToPt, Type: Integer
graphicalIsochroneRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt")));
}
if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) {
// Param: walkingSpeed, Type: Float
graphicalIsochroneRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed")));
Expand All @@ -8217,6 +8221,10 @@ public void run() {
// Param: carSpeed, Type: Float
graphicalIsochroneRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed")));
}
if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) {
// Param: ridesharingSpeed, Type: Float
graphicalIsochroneRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed")));
}
if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) {
// Param: forbiddenUris, Type: List
graphicalIsochroneRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris")));
Expand Down Expand Up @@ -8358,6 +8366,10 @@ public void run() {
// Param: maxCarDurationToPt, Type: Integer
graphicalIsochroneRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt")));
}
if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) {
// Param: maxRidesharingDurationToPt, Type: Integer
graphicalIsochroneRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt")));
}
if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) {
// Param: walkingSpeed, Type: Float
graphicalIsochroneRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed")));
Expand All @@ -8374,6 +8386,10 @@ public void run() {
// Param: carSpeed, Type: Float
graphicalIsochroneRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed")));
}
if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) {
// Param: ridesharingSpeed, Type: Float
graphicalIsochroneRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed")));
}
if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) {
// Param: forbiddenUris, Type: List
graphicalIsochroneRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris")));
Expand Down Expand Up @@ -8519,6 +8535,10 @@ public void run() {
// Param: maxCarDurationToPt, Type: Integer
heatMapRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt")));
}
if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) {
// Param: maxRidesharingDurationToPt, Type: Integer
heatMapRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt")));
}
if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) {
// Param: walkingSpeed, Type: Float
heatMapRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed")));
Expand All @@ -8535,6 +8555,10 @@ public void run() {
// Param: carSpeed, Type: Float
heatMapRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed")));
}
if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) {
// Param: ridesharingSpeed, Type: Float
heatMapRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed")));
}
if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) {
// Param: forbiddenUris, Type: List
heatMapRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris")));
Expand Down Expand Up @@ -8672,6 +8696,10 @@ public void run() {
// Param: maxCarDurationToPt, Type: Integer
heatMapRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt")));
}
if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) {
// Param: maxRidesharingDurationToPt, Type: Integer
heatMapRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt")));
}
if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) {
// Param: walkingSpeed, Type: Float
heatMapRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed")));
Expand All @@ -8688,6 +8716,10 @@ public void run() {
// Param: carSpeed, Type: Float
heatMapRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed")));
}
if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) {
// Param: ridesharingSpeed, Type: Float
heatMapRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed")));
}
if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) {
// Param: forbiddenUris, Type: List
heatMapRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris")));
Expand Down Expand Up @@ -10573,6 +10605,10 @@ public void run() {
// Param: maxCarDurationToPt, Type: Integer
journeysRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt")));
}
if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) {
// Param: maxRidesharingDurationToPt, Type: Integer
journeysRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt")));
}
if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) {
// Param: walkingSpeed, Type: Float
journeysRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed")));
Expand All @@ -10589,6 +10625,10 @@ public void run() {
// Param: carSpeed, Type: Float
journeysRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed")));
}
if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) {
// Param: ridesharingSpeed, Type: Float
journeysRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed")));
}
if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) {
// Param: forbiddenUris, Type: List
journeysRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris")));
Expand Down Expand Up @@ -10746,6 +10786,10 @@ public void run() {
// Param: maxCarDurationToPt, Type: Integer
journeysRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt")));
}
if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) {
// Param: maxRidesharingDurationToPt, Type: Integer
journeysRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt")));
}
if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) {
// Param: walkingSpeed, Type: Float
journeysRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed")));
Expand All @@ -10762,6 +10806,10 @@ public void run() {
// Param: carSpeed, Type: Float
journeysRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed")));
}
if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) {
// Param: ridesharingSpeed, Type: Float
journeysRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed")));
}
if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) {
// Param: forbiddenUris, Type: List
journeysRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris")));
Expand Down Expand Up @@ -10915,6 +10963,10 @@ public void run() {
// Param: maxCarDurationToPt, Type: Integer
journeysRequestBuilder.withMaxCarDurationToPt(integerStraightPass(params.getInt("maxCarDurationToPt")));
}
if (params.has("maxRidesharingDurationToPt") && (params.getString("maxRidesharingDurationToPt") != null) && (!params.getString("maxRidesharingDurationToPt").isEmpty()) ) {
// Param: maxRidesharingDurationToPt, Type: Integer
journeysRequestBuilder.withMaxRidesharingDurationToPt(integerStraightPass(params.getInt("maxRidesharingDurationToPt")));
}
if (params.has("walkingSpeed") && (params.getString("walkingSpeed") != null) && (!params.getString("walkingSpeed").isEmpty()) ) {
// Param: walkingSpeed, Type: Float
journeysRequestBuilder.withWalkingSpeed(longToFloat(params.getLong("walkingSpeed")));
Expand All @@ -10931,6 +10983,10 @@ public void run() {
// Param: carSpeed, Type: Float
journeysRequestBuilder.withCarSpeed(longToFloat(params.getLong("carSpeed")));
}
if (params.has("ridesharingSpeed") && (params.getString("ridesharingSpeed") != null) && (!params.getString("ridesharingSpeed").isEmpty()) ) {
// Param: ridesharingSpeed, Type: Float
journeysRequestBuilder.withRidesharingSpeed(longToFloat(params.getLong("ridesharingSpeed")));
}
if (params.has("forbiddenUris") && (params.getString("forbiddenUris") != null) && (!params.getString("forbiddenUris").isEmpty()) ) {
// Param: forbiddenUris, Type: List
journeysRequestBuilder.withForbiddenUris(jsonArrayToStringList(params.getJSONArray("forbiddenUris")));
Expand Down
Loading

0 comments on commit e4aba5d

Please sign in to comment.