@situm/cordova 3.0.0 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/azure-pipelines.yml +13 -13
- package/package.json +1 -1
- package/plugin.xml +2 -2
- package/src/android/app/build.gradle +1 -1
- package/src/android/situm.gradle +1 -1
- package/src/ios/Podfile +1 -1
package/azure-pipelines.yml
CHANGED
|
@@ -101,7 +101,7 @@ jobs:
|
|
|
101
101
|
|
|
102
102
|
steps:
|
|
103
103
|
- bash: |
|
|
104
|
-
cd
|
|
104
|
+
cd cordova
|
|
105
105
|
|
|
106
106
|
echo -e "\n[+] Install npm dependencies \n"
|
|
107
107
|
npm install
|
|
@@ -156,8 +156,8 @@ jobs:
|
|
|
156
156
|
echo -e "\t[+] Current branch: $currentBranch"
|
|
157
157
|
|
|
158
158
|
echo -e "\n[+] Setting git remote credentials\n"
|
|
159
|
-
if [ -d "
|
|
160
|
-
cd
|
|
159
|
+
if [ -d "cordova" ];then
|
|
160
|
+
cd cordova
|
|
161
161
|
fi
|
|
162
162
|
git remote set-url origin https://situmops:$(github_token)@github.com/$(Build.Repository.Name).git
|
|
163
163
|
cat .git/config
|
|
@@ -166,7 +166,7 @@ jobs:
|
|
|
166
166
|
|
|
167
167
|
- bash: |
|
|
168
168
|
|
|
169
|
-
cd
|
|
169
|
+
cd cordova
|
|
170
170
|
echo -e "\n[+] Setting NPM version to $(version)"
|
|
171
171
|
npm version $(version) --no-git-tag-version
|
|
172
172
|
|
|
@@ -196,13 +196,13 @@ jobs:
|
|
|
196
196
|
bitbucket_user: situmops
|
|
197
197
|
system: "N/A"
|
|
198
198
|
server: "github"
|
|
199
|
-
repoFolder: "
|
|
199
|
+
repoFolder: "cordova"
|
|
200
200
|
mergeBranches:
|
|
201
201
|
- "master"
|
|
202
202
|
- "develop"
|
|
203
203
|
|
|
204
204
|
- bash: |
|
|
205
|
-
cd
|
|
205
|
+
cd cordova
|
|
206
206
|
echo -e "\n[+] Fetch all branches\n"
|
|
207
207
|
git fetch
|
|
208
208
|
|
|
@@ -220,7 +220,7 @@ jobs:
|
|
|
220
220
|
|
|
221
221
|
|
|
222
222
|
- bash: |
|
|
223
|
-
cd
|
|
223
|
+
cd cordova
|
|
224
224
|
|
|
225
225
|
echo -e "\n[+] Install dependencies"
|
|
226
226
|
npm install
|
|
@@ -233,12 +233,12 @@ jobs:
|
|
|
233
233
|
- template: azure-templates/commit-doc.yaml@sys_kubernetes_templates
|
|
234
234
|
parameters:
|
|
235
235
|
version: $(version)
|
|
236
|
-
docPath:
|
|
236
|
+
docPath: cordova/docs/JSDoc
|
|
237
237
|
system: cordova
|
|
238
238
|
bitbucket:
|
|
239
239
|
bitbucket_user: $(bitbucket_user)
|
|
240
240
|
bitbucket_pass: $(bitbucket_pass)
|
|
241
|
-
release: "
|
|
241
|
+
release: "cordova"
|
|
242
242
|
|
|
243
243
|
- checkout: cordova_sdk_validation
|
|
244
244
|
fetchTags: false
|
|
@@ -265,8 +265,8 @@ jobs:
|
|
|
265
265
|
displayName: Execute example app
|
|
266
266
|
|
|
267
267
|
- bash: |
|
|
268
|
-
if [ -d "
|
|
269
|
-
cd
|
|
268
|
+
if [ -d "cordova" ]; then
|
|
269
|
+
cd cordova
|
|
270
270
|
fi
|
|
271
271
|
|
|
272
272
|
echo -e "\n[+] Pull master changes and change to master branch \n"
|
|
@@ -274,14 +274,14 @@ jobs:
|
|
|
274
274
|
git checkout master
|
|
275
275
|
git pull origin master
|
|
276
276
|
|
|
277
|
-
iossdk=$(grep -
|
|
277
|
+
iossdk=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
|
|
278
278
|
androidsdk=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
|
|
279
279
|
|
|
280
280
|
|
|
281
281
|
echo -e "\n[+] Checkout to previous commit\n"
|
|
282
282
|
git checkout HEAD~1
|
|
283
283
|
|
|
284
|
-
iossdk_old=$(grep -
|
|
284
|
+
iossdk_old=$(grep -oP 'spec="\~> \K[0-9]+\.[0-9]+\.[0-9]+' plugin.xml)
|
|
285
285
|
androidsdk_old=$(grep -oE 'es.situm:situm-sdk:[0-9]+\.[0-9]+\.[0-9]+@aar' src/android/situm.gradle | awk -F'[:@]' '{print $3}')
|
|
286
286
|
|
|
287
287
|
echo -e "\n[+] Return repository to master branch\n"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@situm/cordova",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Set of utilities that allow any developer to build Cordova location based apps using Situm's indoor positioning system.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"repository": "https://github.com/situmtech/cordova",
|
package/plugin.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
4
4
|
id="@situm/cordova"
|
|
5
|
-
version="3.0.
|
|
5
|
+
version="3.0.1">
|
|
6
6
|
<name>Situm Cordova plugin Official</name>
|
|
7
7
|
<description>This is the stable branch.</description>
|
|
8
8
|
<license>MIT</license>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
<config>
|
|
85
85
|
</config>
|
|
86
86
|
<pods use-frameworks="false">
|
|
87
|
-
<pod name="SitumSDK" spec="~> 3.
|
|
87
|
+
<pod name="SitumSDK" spec="~> 3.4.0"/>
|
|
88
88
|
</pods>
|
|
89
89
|
</podspec>
|
|
90
90
|
|
|
@@ -44,7 +44,7 @@ dependencies {
|
|
|
44
44
|
implementation ('com.googlecode.json-simple:json-simple:1.1.1'){
|
|
45
45
|
exclude group: 'junit', module:'junit'
|
|
46
46
|
}
|
|
47
|
-
implementation ('es.situm:situm-sdk:3.
|
|
47
|
+
implementation ('es.situm:situm-sdk:3.8.0@aar') {
|
|
48
48
|
transitive = true
|
|
49
49
|
}
|
|
50
50
|
implementation 'org.apache.cordova:framework:10.1.1'
|
package/src/android/situm.gradle
CHANGED
|
@@ -13,7 +13,7 @@ allprojects {
|
|
|
13
13
|
dependencies {
|
|
14
14
|
implementation 'com.google.android.gms:play-services-maps:16.0.0'
|
|
15
15
|
implementation 'com.google.android.gms:play-services-location:16.0.0'
|
|
16
|
-
implementation('es.situm:situm-sdk:3.
|
|
16
|
+
implementation('es.situm:situm-sdk:3.8.0@aar') {
|
|
17
17
|
transitive = true
|
|
18
18
|
}
|
|
19
19
|
}
|
package/src/ios/Podfile
CHANGED