react-native-notifyvisitors 4.4.1 → 4.4.2
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/android/.classpath +6 -0
- package/android/.project +6 -0
- package/android/.settings/org.eclipse.buildship.core.prefs +1 -1
- package/android/.settings/org.eclipse.jdt.core.prefs +4 -0
- package/android/bin/.project +34 -0
- package/android/bin/.settings/org.eclipse.buildship.core.prefs +13 -0
- package/android/bin/build.gradle +45 -0
- package/android/bin/src/main/AndroidManifest.xml +24 -0
- package/android/bin/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.class +0 -0
- package/android/bin/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsPackage.class +0 -0
- package/android/bin/src/main/res/values/strings.xml +3 -0
- package/android/build.gradle +3 -1
- package/android/src/main/java/com/rn_notifyvisitors/RNNotifyvisitorsModule.java +381 -17
- package/index.d.ts +65 -27
- package/index.js +75 -0
- package/ios/RNNotifyvisitors/RCTNVEventEmitter.m +360 -339
- package/ios/RNNotifyvisitors/RNNotifyvisitors.h +10 -7
- package/ios/RNNotifyvisitors/RNNotifyvisitors.m +35 -1
- package/package.json +1 -1
- package/react-native-notifyvisitors.podspec +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<classpath>
|
|
3
|
+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-23/"/>
|
|
4
|
+
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
|
|
5
|
+
<classpathentry kind="output" path="bin/default"/>
|
|
6
|
+
</classpath>
|
package/android/.project
CHANGED
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
<projects>
|
|
6
6
|
</projects>
|
|
7
7
|
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
8
13
|
<buildCommand>
|
|
9
14
|
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
10
15
|
<arguments>
|
|
@@ -12,6 +17,7 @@
|
|
|
12
17
|
</buildCommand>
|
|
13
18
|
</buildSpec>
|
|
14
19
|
<natures>
|
|
20
|
+
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
15
21
|
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
16
22
|
</natures>
|
|
17
23
|
<filteredResources>
|
|
@@ -5,7 +5,7 @@ connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(8.9))
|
|
|
5
5
|
connection.project.dir=
|
|
6
6
|
eclipse.preferences.version=1
|
|
7
7
|
gradle.user.home=
|
|
8
|
-
java.home=/
|
|
8
|
+
java.home=/opt/homebrew/Cellar/openjdk/21.0.1/libexec/openjdk.jdk/Contents/Home
|
|
9
9
|
jvm.arguments=
|
|
10
10
|
offline.mode=false
|
|
11
11
|
override.workspace.settings=true
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<projectDescription>
|
|
3
|
+
<name>react-native-notifyvisitors</name>
|
|
4
|
+
<comment>Project react-native-notifyvisitors created by Buildship.</comment>
|
|
5
|
+
<projects>
|
|
6
|
+
</projects>
|
|
7
|
+
<buildSpec>
|
|
8
|
+
<buildCommand>
|
|
9
|
+
<name>org.eclipse.jdt.core.javabuilder</name>
|
|
10
|
+
<arguments>
|
|
11
|
+
</arguments>
|
|
12
|
+
</buildCommand>
|
|
13
|
+
<buildCommand>
|
|
14
|
+
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
|
|
15
|
+
<arguments>
|
|
16
|
+
</arguments>
|
|
17
|
+
</buildCommand>
|
|
18
|
+
</buildSpec>
|
|
19
|
+
<natures>
|
|
20
|
+
<nature>org.eclipse.jdt.core.javanature</nature>
|
|
21
|
+
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
|
|
22
|
+
</natures>
|
|
23
|
+
<filteredResources>
|
|
24
|
+
<filter>
|
|
25
|
+
<id>1718186990341</id>
|
|
26
|
+
<name></name>
|
|
27
|
+
<type>30</type>
|
|
28
|
+
<matcher>
|
|
29
|
+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
|
|
30
|
+
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
|
|
31
|
+
</matcher>
|
|
32
|
+
</filter>
|
|
33
|
+
</filteredResources>
|
|
34
|
+
</projectDescription>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
arguments=--init-script /var/folders/tw/px__qvrn1sg589qgm6l8jxqr0000gn/T/db3b08fc4a9ef609cb16b96b200fa13e563f396e9bb1ed0905fdab7bc3bc513b.gradle --init-script /var/folders/tw/px__qvrn1sg589qgm6l8jxqr0000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle
|
|
2
|
+
auto.sync=false
|
|
3
|
+
build.scans.enabled=false
|
|
4
|
+
connection.gradle.distribution=GRADLE_DISTRIBUTION(VERSION(8.9))
|
|
5
|
+
connection.project.dir=../../../android
|
|
6
|
+
eclipse.preferences.version=1
|
|
7
|
+
gradle.user.home=
|
|
8
|
+
java.home=/Library/Java/JavaVirtualMachines/jdk-20.jdk/Contents/Home
|
|
9
|
+
jvm.arguments=
|
|
10
|
+
offline.mode=false
|
|
11
|
+
override.workspace.settings=true
|
|
12
|
+
show.console.view=true
|
|
13
|
+
show.executions.view=true
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
apply plugin: 'com.android.library'
|
|
2
|
+
|
|
3
|
+
def safeExtGet(prop, fallback) {
|
|
4
|
+
rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
buildscript {
|
|
8
|
+
repositories {
|
|
9
|
+
google()
|
|
10
|
+
mavenCentral()
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
android {
|
|
15
|
+
compileSdk safeExtGet('compileSdk', 33)
|
|
16
|
+
|
|
17
|
+
defaultConfig {
|
|
18
|
+
minSdkVersion safeExtGet('minSdkVersion', 23)
|
|
19
|
+
targetSdkVersion safeExtGet('targetSdkVersion', 33)
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
buildTypes {
|
|
23
|
+
release {
|
|
24
|
+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
compileOptions {
|
|
29
|
+
sourceCompatibility JavaVersion.VERSION_1_8
|
|
30
|
+
targetCompatibility JavaVersion.VERSION_1_8
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
dependencies {
|
|
35
|
+
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
36
|
+
implementation 'com.facebook.react:react-native:+'
|
|
37
|
+
implementation('com.notifyvisitors.notifyvisitors:notifyvisitors:v5.4.11') {
|
|
38
|
+
exclude group: 'com.google.firebase', module: 'firebase-core'
|
|
39
|
+
}
|
|
40
|
+
implementation platform('com.google.firebase:firebase-bom:30.3.1')
|
|
41
|
+
implementation ('com.google.firebase:firebase-messaging')
|
|
42
|
+
implementation ('com.google.android.gms:play-services-location')
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
+
package="com.rn_notifyvisitors">
|
|
3
|
+
|
|
4
|
+
<uses-permission android:name="android.permission.INTERNET" />
|
|
5
|
+
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
6
|
+
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
|
|
7
|
+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
8
|
+
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
9
|
+
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
10
|
+
<uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
|
|
11
|
+
<uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
|
|
12
|
+
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
|
13
|
+
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
|
|
14
|
+
|
|
15
|
+
<application>
|
|
16
|
+
<service
|
|
17
|
+
android:name="com.notifyvisitors.notifyvisitors.NVFirebaseMessagingService"
|
|
18
|
+
android:exported="false">
|
|
19
|
+
<intent-filter>
|
|
20
|
+
<action android:name="com.google.firebase.MESSAGING_EVENT" />
|
|
21
|
+
</intent-filter>
|
|
22
|
+
</service>
|
|
23
|
+
</application>
|
|
24
|
+
</manifest>
|
|
Binary file
|
|
Binary file
|
package/android/build.gradle
CHANGED
|
@@ -34,7 +34,9 @@ android {
|
|
|
34
34
|
dependencies {
|
|
35
35
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
|
36
36
|
implementation 'com.facebook.react:react-native:+'
|
|
37
|
-
implementation
|
|
37
|
+
implementation('com.notifyvisitors.notifyvisitors:notifyvisitors:v5.4.11') {
|
|
38
|
+
exclude group: 'com.google.firebase', module: 'firebase-core'
|
|
39
|
+
}
|
|
38
40
|
implementation platform('com.google.firebase:firebase-bom:30.3.1')
|
|
39
41
|
implementation ('com.google.firebase:firebase-messaging')
|
|
40
42
|
implementation ('com.google.android.gms:play-services-location')
|