Skip to content

Commit bb124ae

Browse files
authored
Merge pull request #32 from OneSignal/update_example
Update Example Versions
2 parents 2e6c253 + fd74628 commit bb124ae

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

example/ios/Podfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ target 'Runner' do
5555
end
5656

5757
target 'OneSignalNotificationServiceExtension' do
58-
pod 'OneSignal', '>= 2.8.5', '< 3.0'
58+
pod 'OneSignal', '>= 2.9.3', '< 3.0'
5959
end
6060

6161
post_install do |installer|

example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = "<group>"; };
8080
7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; };
8181
7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; };
82+
7D1CC2891625ECEF36CF5A3C /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
8283
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = "<group>"; };
8384
9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = "<group>"; };
8485
9740EEBA1CF902C7004384FC /* Flutter.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Flutter.framework; path = Flutter/Flutter.framework; sourceTree = "<group>"; };
@@ -97,6 +98,7 @@
9798
CAB34E9220F96BDA0024CA6B /* NotificationService.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = NotificationService.m; sourceTree = "<group>"; };
9899
CAB34E9420F96BDA0024CA6B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
99100
CAB34E9C20F96BE60024CA6B /* OneSignalNotificationServiceExtension.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = OneSignalNotificationServiceExtension.entitlements; sourceTree = "<group>"; };
101+
EF6A8C8795AA76A9A3FCFBDF /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
100102
/* End PBXFileReference section */
101103

102104
/* Begin PBXFrameworksBuildPhase section */
@@ -129,6 +131,8 @@
129131
children = (
130132
3EE955317E30D1CA412DE9FA /* Pods-OneSignalNotificationServiceExtension.debug.xcconfig */,
131133
6AEC1B2CA2C4C1914E65C196 /* Pods-OneSignalNotificationServiceExtension.release.xcconfig */,
134+
EF6A8C8795AA76A9A3FCFBDF /* Pods-Runner.debug.xcconfig */,
135+
7D1CC2891625ECEF36CF5A3C /* Pods-Runner.release.xcconfig */,
132136
);
133137
name = Pods;
134138
sourceTree = "<group>";
@@ -344,7 +348,7 @@
344348
files = (
345349
);
346350
inputPaths = (
347-
"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
351+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh",
348352
"${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework",
349353
);
350354
name = "[CP] Embed Pods Frameworks";
@@ -353,7 +357,7 @@
353357
);
354358
runOnlyForDeploymentPostprocessing = 0;
355359
shellPath = /bin/sh;
356-
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
360+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
357361
showEnvVarsInLog = 0;
358362
};
359363
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ dev_dependencies:
1818
sdk: flutter
1919

2020
environment:
21-
sdk: ">=2.0.0-dev.28.0 <3.0.0"
22-
flutter: ">=0.1.4 <2.0.0"
21+
sdk: ">=2.1.0-dev.7.1 <3.0.0"
22+
flutter: ">=0.10.1-pre.45 <2.0.0"

test/test_data.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:onesignal/src/notification.dart';
55
import 'package:onesignal/src/defines.dart';
66

77
class TestData {
8-
static final file = new File('test.json');
8+
static final file = new File(Directory.current.path + '/test.json');
99
static final json =
1010
JsonDecoder().convert(file.readAsStringSync()) as Map<dynamic, dynamic>;
1111

0 commit comments

Comments
 (0)