react-native-mapp-plugin 1.0.11-beta4 → 1.0.11-beta5
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/.idea/workspace.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
4
|
<list default="true" id="8b4f258a-c093-494f-afe5-5f5a25c90893" name="Default Changelist" comment="">
|
|
5
|
-
<change beforePath="$PROJECT_DIR$/
|
|
5
|
+
<change beforePath="$PROJECT_DIR$/Mapp.js" beforeDir="false" afterPath="$PROJECT_DIR$/Mapp.js" afterDir="false" />
|
|
6
6
|
<change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
|
|
7
7
|
</list>
|
|
8
8
|
<option name="SHOW_DIALOG" value="false" />
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<workItem from="1633566225798" duration="599000" />
|
|
81
81
|
<workItem from="1634673153825" duration="3131000" />
|
|
82
82
|
<workItem from="1635406438746" duration="1187000" />
|
|
83
|
-
<workItem from="1635764727836" duration="
|
|
83
|
+
<workItem from="1635764727836" duration="11060000" />
|
|
84
84
|
</task>
|
|
85
85
|
<task id="LOCAL-00001" summary="new version">
|
|
86
86
|
<created>1632917445507</created>
|
|
@@ -124,7 +124,14 @@
|
|
|
124
124
|
<option name="project" value="LOCAL" />
|
|
125
125
|
<updated>1635776654720</updated>
|
|
126
126
|
</task>
|
|
127
|
-
<
|
|
127
|
+
<task id="LOCAL-00007" summary="update version">
|
|
128
|
+
<created>1637674196630</created>
|
|
129
|
+
<option name="number" value="00007" />
|
|
130
|
+
<option name="presentableId" value="LOCAL-00007" />
|
|
131
|
+
<option name="project" value="LOCAL" />
|
|
132
|
+
<updated>1637674196630</updated>
|
|
133
|
+
</task>
|
|
134
|
+
<option name="localTasksCounter" value="8" />
|
|
128
135
|
<servers />
|
|
129
136
|
</component>
|
|
130
137
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -153,6 +160,7 @@
|
|
|
153
160
|
<MESSAGE value="new version" />
|
|
154
161
|
<MESSAGE value="Update script to run on all linux systems" />
|
|
155
162
|
<MESSAGE value="Fixed android issue when engage late" />
|
|
156
|
-
<
|
|
163
|
+
<MESSAGE value="update version" />
|
|
164
|
+
<option name="LAST_COMMIT_MESSAGE" value="update version" />
|
|
157
165
|
</component>
|
|
158
166
|
</project>
|
package/Mapp.js
CHANGED
|
@@ -182,8 +182,21 @@ export class Mapp {
|
|
|
182
182
|
* iOS only
|
|
183
183
|
*/
|
|
184
184
|
static showNotificationAlertView() {
|
|
185
|
-
|
|
186
|
-
|
|
185
|
+
if (Platform.OS === "ios") {
|
|
186
|
+
return RNMappPluginModule.showNotificationAlertView();
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* Display notifications even app is in foreground .
|
|
193
|
+
* iOS only
|
|
194
|
+
*/
|
|
195
|
+
static setShowNotificationsAtForeground(value: boolean) {
|
|
196
|
+
if (Platform.OS === "ios") {
|
|
197
|
+
return RNMappPluginModule.setShowNotificationsAtForeground(value);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
187
200
|
|
|
188
201
|
/**
|
|
189
202
|
* Set Custom Attribute
|
|
@@ -260,6 +273,14 @@ export class Mapp {
|
|
|
260
273
|
return RNMappPluginModule.removeBadgeNumber();
|
|
261
274
|
}
|
|
262
275
|
|
|
276
|
+
static startGeofencing():Promise<string> {
|
|
277
|
+
return RNMappPluginModule.startGeofencing();
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
static stopGeofencing() : Promise<string>{
|
|
281
|
+
return RNMappPluginModule.stopGeofencing();
|
|
282
|
+
}
|
|
283
|
+
|
|
263
284
|
static startGeoFencing() {
|
|
264
285
|
return RNMappPluginModule.startGeoFencing();
|
|
265
286
|
}
|
package/android/.classpath
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<classpath>
|
|
3
|
-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-
|
|
3
|
+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-13/"/>
|
|
4
4
|
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
|
5
5
|
<classpathentry kind="output" path="bin/default"/>
|
|
6
6
|
</classpath>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
arguments=
|
|
2
2
|
auto.sync=false
|
|
3
3
|
build.scans.enabled=false
|
|
4
|
-
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(
|
|
4
|
+
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(6.8))
|
|
5
5
|
connection.project.dir=
|
|
6
6
|
eclipse.preferences.version=1
|
|
7
7
|
gradle.user.home=
|
|
8
|
-
java.home=/Library/Java/JavaVirtualMachines/
|
|
8
|
+
java.home=/Library/Java/JavaVirtualMachines/jdk-13.0.1.jdk/Contents/Home
|
|
9
9
|
jvm.arguments=
|
|
10
10
|
offline.mode=false
|
|
11
11
|
override.workspace.settings=true
|
package/ios/RNMappPluginModule.m
CHANGED
|
@@ -96,6 +96,10 @@ RCT_EXPORT_METHOD(setPostponeNotificationRequest: (BOOL) postpone) {
|
|
|
96
96
|
[[Appoxee shared] setPostponeNotificationRequest:postpone];
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
RCT_EXPORT_METHOD(setShowNotificationsAtForeground: (BOOL) value) {
|
|
100
|
+
[[Appoxee shared] setShowNotificationsOnForeground:value];
|
|
101
|
+
}
|
|
102
|
+
|
|
99
103
|
RCT_EXPORT_METHOD(showNotificationAlertView) {
|
|
100
104
|
[[Appoxee shared] showNotificationAlertDialog];
|
|
101
105
|
}
|