Skip to content

Commit 17185ef

Browse files
committed
5.0.0 pre alpha testing binaries
1 parent 02187fd commit 17185ef

File tree

352 files changed

+51673
-2056
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

352 files changed

+51673
-2056
lines changed
-1.03 MB
Binary file not shown.

iOS_SDK/OneSignalSDK/OneSignal_Core/OneSignalCore.xcframework/Info.plist

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,12 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64_i386_x86_64-simulator</string>
9+
<string>ios-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>OneSignalCore.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15-
<string>i386</string>
1615
<string>x86_64</string>
1716
</array>
1817
<key>SupportedPlatform</key>
@@ -22,32 +21,30 @@
2221
</dict>
2322
<dict>
2423
<key>LibraryIdentifier</key>
25-
<string>ios-arm64_armv7_armv7s</string>
24+
<string>ios-arm64_x86_64-maccatalyst</string>
2625
<key>LibraryPath</key>
2726
<string>OneSignalCore.framework</string>
2827
<key>SupportedArchitectures</key>
2928
<array>
3029
<string>arm64</string>
31-
<string>armv7</string>
32-
<string>armv7s</string>
30+
<string>x86_64</string>
3331
</array>
3432
<key>SupportedPlatform</key>
3533
<string>ios</string>
34+
<key>SupportedPlatformVariant</key>
35+
<string>maccatalyst</string>
3636
</dict>
3737
<dict>
3838
<key>LibraryIdentifier</key>
39-
<string>ios-arm64_x86_64-maccatalyst</string>
39+
<string>ios-arm64</string>
4040
<key>LibraryPath</key>
4141
<string>OneSignalCore.framework</string>
4242
<key>SupportedArchitectures</key>
4343
<array>
4444
<string>arm64</string>
45-
<string>x86_64</string>
4645
</array>
4746
<key>SupportedPlatform</key>
4847
<string>ios</string>
49-
<key>SupportedPlatformVariant</key>
50-
<string>maccatalyst</string>
5148
</dict>
5249
</array>
5350
<key>CFBundlePackageType</key>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
/**
2+
* Modified MIT License
3+
*
4+
* Copyright 2020 OneSignal
5+
*
6+
* Permission is hereby granted, free of charge, to any person obtaining a copy
7+
* of this software and associated documentation files (the "Software"), to deal
8+
* in the Software without restriction, including without limitation the rights
9+
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
* copies of the Software, and to permit persons to whom the Software is
11+
* furnished to do so, subject to the following conditions:
12+
*
13+
* 1. The above copyright notice and this permission notice shall be included in
14+
* all copies or substantial portions of the Software.
15+
*
16+
* 2. All copies of substantial portions of the Software may only be used in connection
17+
* with services provided by OneSignal.
18+
*
19+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25+
* THE SOFTWARE.
26+
*/
27+
28+
#import <Foundation/Foundation.h>
29+
@interface NSDateFormatter (OneSignal)
30+
+ (instancetype)iso8601DateFormatter;
31+
@end
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
/*
2+
Modified MIT License
3+
4+
Copyright 2022 OneSignal
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
1. The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
2. All copies of substantial portions of the Software may only be used in connection
17+
with services provided by OneSignal.
18+
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25+
THE SOFTWARE.
26+
*/
27+
28+
#import <Foundation/Foundation.h>
29+
30+
// NS_ASSUME_NONNULL_BEGIN
31+
32+
@interface OSDeviceUtils : NSObject
33+
34+
+ (NSString *)getCurrentDeviceVersion;
35+
+ (BOOL)isIOSVersionGreaterThanOrEqual:(NSString *)version;
36+
+ (BOOL)isIOSVersionLessThan:(NSString *)version;
37+
+ (NSString*)getDeviceVariant;
38+
39+
@end
40+
41+
// NS_ASSUME_NONNULL_END
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
//
2+
// OSDialogPresenter.h
3+
// OneSignal
4+
//
5+
// Created by Elliot Mawby on 11/2/22.
6+
// Copyright © 2022 Hiptic. All rights reserved.
7+
//
8+
9+
#import <Foundation/Foundation.h>
10+
11+
typedef void (^OSDialogActionCompletion)(int tappedActionIndex);
12+
13+
@protocol OSDialogPresenter <NSObject>
14+
- (void)presentDialogWithTitle:(NSString * _Nonnull)title withMessage:(NSString * _Nonnull)message withActions:(NSArray<NSString *> * _Nullable)actionTitles cancelTitle:(NSString * _Nonnull)cancelTitle withActionCompletion:(OSDialogActionCompletion _Nullable)completion;
15+
- (void)clearQueue;
16+
@end
17+
18+
@interface OSDialogInstanceManager : NSObject
19+
+ (void)setSharedInstance:(NSObject<OSDialogPresenter> *_Nonnull)instance;
20+
+ (NSObject<OSDialogPresenter> *_Nullable)sharedInstance;
21+
@end
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/*
2+
Modified MIT License
3+
4+
Copyright 2022 OneSignal
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
1. The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
2. All copies of substantial portions of the Software may only be used in connection
17+
with services provided by OneSignal.
18+
19+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
25+
THE SOFTWARE.
26+
*/
27+
28+
#import <Foundation/Foundation.h>
29+
30+
// NS_ASSUME_NONNULL_BEGIN
31+
32+
@interface OSNetworkingUtils : NSObject
33+
34+
+ (NSNumber*)getNetType;
35+
36+
@end
37+
38+
// NS_ASSUME_NONNULL_END

0 commit comments

Comments
 (0)