fix
This commit is contained in:
parent
dd325968ae
commit
3c0eae88e7
|
@ -9,6 +9,14 @@ import Flutter
|
||||||
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
||||||
) -> Bool {
|
) -> Bool {
|
||||||
GeneratedPluginRegistrant.register(with: self)
|
GeneratedPluginRegistrant.register(with: self)
|
||||||
|
|
||||||
|
// Retrieve the link from parameters
|
||||||
|
if let url = AppLinks.shared.getLink(launchOptions: launchOptions) {
|
||||||
|
// We have a link, propagate it to your Flutter app or not
|
||||||
|
AppLinks.shared.handleLink(url: url)
|
||||||
|
return true // Returning true will stop the propagation to other packages
|
||||||
|
}
|
||||||
|
|
||||||
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -2,6 +2,8 @@
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
<plist version="1.0">
|
<plist version="1.0">
|
||||||
<dict>
|
<dict>
|
||||||
|
<key>FlutterDeepLinkingEnabled</key>
|
||||||
|
<false/>
|
||||||
<key>CADisableMinimumFrameDurationOnPhone</key>
|
<key>CADisableMinimumFrameDurationOnPhone</key>
|
||||||
<true/>
|
<true/>
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
<key>CFBundleDevelopmentRegion</key>
|
||||||
|
|
|
@ -85,9 +85,7 @@ class UnregisterDevice {
|
||||||
}
|
}
|
||||||
|
|
||||||
class DeletePet {
|
class DeletePet {
|
||||||
Future<ApiCallResponse> call({
|
Future<ApiCallResponse> call({final int? petID = 0}) async {
|
||||||
final int? petID = 0,
|
|
||||||
}) async {
|
|
||||||
final String baseUrl = PhpGroup.getBaseUrl();
|
final String baseUrl = PhpGroup.getBaseUrl();
|
||||||
final String devUUID = StorageUtil().devUUID;
|
final String devUUID = StorageUtil().devUUID;
|
||||||
final String userUUID = StorageUtil().userUUID;
|
final String userUUID = StorageUtil().userUUID;
|
||||||
|
@ -176,10 +174,7 @@ class UpdatePet {
|
||||||
}
|
}
|
||||||
|
|
||||||
class GetPets {
|
class GetPets {
|
||||||
Future<ApiCallResponse> call({
|
Future<ApiCallResponse> call({final int? page, final int? pageSize,}) async {
|
||||||
final int? page,
|
|
||||||
final int? pageSize,
|
|
||||||
}) async {
|
|
||||||
final String baseUrl = PhpGroup.getBaseUrl();
|
final String baseUrl = PhpGroup.getBaseUrl();
|
||||||
|
|
||||||
final String devUUID = StorageUtil().devUUID;
|
final String devUUID = StorageUtil().devUUID;
|
||||||
|
@ -213,9 +208,7 @@ class GetPets {
|
||||||
}
|
}
|
||||||
|
|
||||||
class GetPetPhoto {
|
class GetPetPhoto {
|
||||||
Future<ApiCallResponse> call({
|
Future<ApiCallResponse> call({final int? petId}) async {
|
||||||
final int? petId,
|
|
||||||
}) async {
|
|
||||||
final String baseUrl = PhpGroup.getBaseUrl();
|
final String baseUrl = PhpGroup.getBaseUrl();
|
||||||
|
|
||||||
final String devUUID = StorageUtil().devUUID;
|
final String devUUID = StorageUtil().devUUID;
|
||||||
|
@ -1951,6 +1944,7 @@ class RespondeSolicitacaoCall {
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class GetAccessCall {
|
class GetAccessCall {
|
||||||
Future<ApiCallResponse> call({
|
Future<ApiCallResponse> call({
|
||||||
final String? pageSize,
|
final String? pageSize,
|
||||||
|
@ -2201,7 +2195,6 @@ class GetAccessCall {
|
||||||
.withoutNulls
|
.withoutNulls
|
||||||
.toList();
|
.toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
class GetLiberationsCall {
|
class GetLiberationsCall {
|
||||||
Stream<ApiCallResponse> call() {
|
Stream<ApiCallResponse> call() {
|
||||||
final String baseUrl = PhpGroup.getBaseUrl();
|
final String baseUrl = PhpGroup.getBaseUrl();
|
||||||
|
@ -2391,7 +2384,6 @@ class GetLiberationsCall {
|
||||||
.withoutNulls
|
.withoutNulls
|
||||||
.toList();
|
.toList();
|
||||||
}
|
}
|
||||||
|
|
||||||
class GetMessagesCall {
|
class GetMessagesCall {
|
||||||
Future<ApiCallResponse> call({
|
Future<ApiCallResponse> call({
|
||||||
final String? pageSize,
|
final String? pageSize,
|
||||||
|
|
Loading…
Reference in New Issue