Skip to content

Commit

Permalink
🔖 Release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachik ABIDI committed Oct 13, 2020
1 parent 417dfeb commit 92d26dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
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": "2.2.0",
"version": "2.3.0",
"description": "Cordova plugin for NavitiaSDK iOS & Android",
"cordova": {
"id": "org-kisio-plugins-navitia-sdk",
Expand Down
4 changes: 2 additions & 2 deletions 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="2.2.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="2.3.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>NavitiaSDK</name>

<preference name="ARTIFACTORY_USERNAME"/>
Expand Down Expand Up @@ -27,7 +27,7 @@
<source url="https://github.com/CanalTP/Podspecs"/>
</config>
<pods use-frameworks="true">
<pod name="NavitiaSDK" spec="1.4.3"/>
<pod name="NavitiaSDK" spec="1.4.4"/>
</pods>
</podspec>

Expand Down
4 changes: 2 additions & 2 deletions src/ios/CDVNavitiaSDK.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import NavitiaSDK

@objc(CDVNavitiaSDK) class CDVNavitiaSDK : CDVPlugin {
var sdk: NavitiaSDK? = nil
var sdk: Expert? = nil

func anyToDateTime(_ value: Any) -> Date {
let isoFormatter = DateFormatter()
Expand Down Expand Up @@ -62,7 +62,7 @@ import NavitiaSDK
if token == nil || token!.isEmpty {
pluginResult = CDVPluginResult(status: CDVCommandStatus_ERROR, messageAs: "No token provided")
} else {
self.sdk = NavitiaSDK.init(configuration: NavitiaConfiguration.init(token: token!))
self.sdk = Expert.init(configuration: NavitiaConfiguration.init(token: token!))
let message = String(format: "SDK initialized with token %@", token!)
pluginResult = CDVPluginResult(status: CDVCommandStatus_OK, messageAs: message)
}
Expand Down

0 comments on commit 92d26dc

Please sign in to comment.