Skip to content

Commit

Permalink
Pushwoosh React Native Geozones plugin 1.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins CI committed May 28, 2024
1 parent b17790b commit 1b5399c
Show file tree
Hide file tree
Showing 35 changed files with 1,024 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pushwoosh-geozones-react-native-plugin",
"version": "1.1.3",
"version": "1.1.4",
"description": "This plugin allows you to receive push notifications from Pushwoosh Geozones. Powered by Pushwoosh (www.pushwoosh.com).",
"main": "index.js",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion pushwoosh-geozones-react-native-plugin.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "pushwoosh-geozones-react-native-plugin"
s.version = "1.1.3"
s.version = "1.1.4"
s.summary = "React Native Pushwoosh Push Notifications module"
s.requires_arc = true
s.author = 'Pushwoosh'
Expand Down
2 changes: 1 addition & 1 deletion src/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ android {
}

dependencies {
implementation "com.pushwoosh:pushwoosh-location:6.6.5"
implementation "com.pushwoosh:pushwoosh-location:6.7.8"
implementation 'com.facebook.react:react-native:+'
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AvailableLibraries</key>
<array>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-simulator</string>
<key>LibraryPath</key>
<string>PushwooshGeozones.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>simulator</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64_x86_64-maccatalyst</string>
<key>LibraryPath</key>
<string>PushwooshGeozones.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
<string>x86_64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
<key>SupportedPlatformVariant</key>
<string>maccatalyst</string>
</dict>
<dict>
<key>LibraryIdentifier</key>
<string>ios-arm64</string>
<key>LibraryPath</key>
<string>PushwooshGeozones.framework</string>
<key>SupportedArchitectures</key>
<array>
<string>arm64</string>
</array>
<key>SupportedPlatform</key>
<string>ios</string>
</dict>
</array>
<key>CFBundlePackageType</key>
<string>XFWK</string>
<key>XCFrameworkFormatVersion</key>
<string>1.0</string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
//
// PWRichMediaManager.h
// Pushwoosh SDK
// (c) Pushwoosh 2018
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@class PWGeozonesManager;

@protocol PWGeozonesDelegate <NSObject>

@optional

/**
Tells the delegate that location tracking did start.
*/
- (void)didStartLocationTrackingWithManager:(PWGeozonesManager *)geozonesManager;

/**
Tells the delegate that location tracking did fail.
*/
- (void)geozonesManager:(PWGeozonesManager *)geozonesManager startingLocationTrackingDidFail:(NSError *)error;

/**
Tells the delegate that location was successfully sent.
*/
- (void)geozonesManager:(PWGeozonesManager *)geozonesManager didSendLocation:(CLLocation *)location;

@end


@interface PWGeozonesManager: NSObject

/**
Indicates that location tracking has started.
*/
@property (nonatomic, readonly) BOOL enabled;

/**
Delegate that would receive the information about events for geozones manager.
*/
@property (nonatomic, weak) id<PWGeozonesDelegate> delegate;

/**
A singleton object that represents the geozones manager.
*/
+ (instancetype)sharedManager;

/**
Starts location tracking.
*/
- (void)startLocationTracking;

/**
Stops location tracking.
*/
- (void)stopLocationTracking;

/**
Explicitly sends geolocation to the server for GeoFencing push technology. Also called internally in `startLocationTracking` and `stopLocationTracking` functions.
@param location Location to be sent.
*/
- (void)sendLocation:(CLLocation *)location;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// PushwooshGeozones.h
// Pushwoosh SDK
// (c) Pushwoosh 2018
//

#import <UIKit/UIKit.h>

FOUNDATION_EXPORT double PushwooshGeozonesVersionNumber;

FOUNDATION_EXPORT const unsigned char PushwooshGeozonesVersionString[];

#import "PWGeozonesManager.h"
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module PushwooshGeozones {
umbrella header "PushwooshGeozones.h"

export *
module * { export * }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPrivacyTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypes</key>
<array>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeProductInteraction</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypeCoarseLocation</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
<dict>
<key>NSPrivacyCollectedDataType</key>
<string>NSPrivacyCollectedDataTypePreciseLocation</string>
<key>NSPrivacyCollectedDataTypeLinked</key>
<false/>
<key>NSPrivacyCollectedDataTypeTracking</key>
<false/>
<key>NSPrivacyCollectedDataTypePurposes</key>
<array>
<string>NSPrivacyCollectedDataTypePurposeAnalytics</string>
</array>
</dict>
</array>
</dict>
</plist>
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
//
// PWRichMediaManager.h
// Pushwoosh SDK
// (c) Pushwoosh 2018
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>

@class PWGeozonesManager;

@protocol PWGeozonesDelegate <NSObject>

@optional

/**
Tells the delegate that location tracking did start.
*/
- (void)didStartLocationTrackingWithManager:(PWGeozonesManager *)geozonesManager;

/**
Tells the delegate that location tracking did fail.
*/
- (void)geozonesManager:(PWGeozonesManager *)geozonesManager startingLocationTrackingDidFail:(NSError *)error;

/**
Tells the delegate that location was successfully sent.
*/
- (void)geozonesManager:(PWGeozonesManager *)geozonesManager didSendLocation:(CLLocation *)location;

@end


@interface PWGeozonesManager: NSObject

/**
Indicates that location tracking has started.
*/
@property (nonatomic, readonly) BOOL enabled;

/**
Delegate that would receive the information about events for geozones manager.
*/
@property (nonatomic, weak) id<PWGeozonesDelegate> delegate;

/**
A singleton object that represents the geozones manager.
*/
+ (instancetype)sharedManager;

/**
Starts location tracking.
*/
- (void)startLocationTracking;

/**
Stops location tracking.
*/
- (void)stopLocationTracking;

/**
Explicitly sends geolocation to the server for GeoFencing push technology. Also called internally in `startLocationTracking` and `stopLocationTracking` functions.
@param location Location to be sent.
*/
- (void)sendLocation:(CLLocation *)location;

@end
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// PushwooshGeozones.h
// Pushwoosh SDK
// (c) Pushwoosh 2018
//

#import <UIKit/UIKit.h>

FOUNDATION_EXPORT double PushwooshGeozonesVersionNumber;

FOUNDATION_EXPORT const unsigned char PushwooshGeozonesVersionString[];

#import "PWGeozonesManager.h"
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
framework module PushwooshGeozones {
umbrella header "PushwooshGeozones.h"

export *
module * { export * }
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>BuildMachineOSBuild</key>
<string>23E224</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>PushwooshGeozones</string>
<key>CFBundleIdentifier</key>
<string>com.pushwoosh.geozones</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>PushwooshGeozones</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>20E238</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>13.3</string>
<key>DTSDKBuild</key>
<string>22E245</string>
<key>DTSDKName</key>
<string>macosx13.3</string>
<key>DTXcode</key>
<string>1431</string>
<key>DTXcodeBuild</key>
<string>14E300c</string>
<key>LSMinimumSystemVersion</key>
<string>10.15</string>
<key>UIDeviceFamily</key>
<array>
<integer>2</integer>
</array>
</dict>
</plist>
Loading

0 comments on commit 1b5399c

Please sign in to comment.