+3
ios/Runner.xcodeproj/project.pbxproj
+3
ios/Runner.xcodeproj/project.pbxproj
···
493
493
SWIFT_VERSION = 5.0;
494
494
TARGETED_DEVICE_FAMILY = 1;
495
495
VERSIONING_SYSTEM = "apple-generic";
496
+
WS_URL = "wss://notifications.grainsocial.network/ws";
496
497
};
497
498
name = Profile;
498
499
};
···
689
690
SWIFT_VERSION = 5.0;
690
691
TARGETED_DEVICE_FAMILY = 1;
691
692
VERSIONING_SYSTEM = "apple-generic";
693
+
WS_URL = "wss://notifications.grainsocial.network/ws";
692
694
};
693
695
name = Debug;
694
696
};
···
721
723
SWIFT_VERSION = 5.0;
722
724
TARGETED_DEVICE_FAMILY = 1;
723
725
VERSIONING_SYSTEM = "apple-generic";
726
+
WS_URL = "wss://notifications.grainsocial.network/ws";
724
727
};
725
728
name = Release;
726
729
};
+6
-3
lib/main.dart
+6
-3
lib/main.dart
···
22
22
}
23
23
apiUrl = kReleaseMode
24
24
? const String.fromEnvironment('API_URL', defaultValue: 'https://grain.social')
25
-
: dotenv.env['API_URL'] ?? 'http://localhost:8080';
25
+
: dotenv.env['API_URL'] ?? '';
26
26
wsUrl = kReleaseMode
27
-
? const String.fromEnvironment('WS_URL', defaultValue: 'wss://grain.social/ws')
28
-
: dotenv.env['WS_URL'] ?? 'ws://localhost:8080/ws';
27
+
? const String.fromEnvironment(
28
+
'WS_URL',
29
+
defaultValue: 'wss://notifications.grainsocial.network/ws',
30
+
)
31
+
: dotenv.env['WS_URL'] ?? '';
29
32
}
30
33
}
31
34
+1
-1
pubspec.yaml
+1
-1
pubspec.yaml
···
16
16
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
17
17
# In Windows, build-name is used as the major, minor, and patch parts
18
18
# of the product and file versions while build-number is used as the build suffix.
19
-
version: 1.0.0+12
19
+
version: 1.0.0+14
20
20
21
21
environment:
22
22
sdk: ^3.8.1