#
closed
Some Question Related to MightyNews

Hi Support,

I have 2 questions. Can you please help me with this questions?

  1. I have already have registered users login with Wordpress, on the web the users need to login first before they can read the content. It's possible the first screen is login first with Wordpress account?. How I can do this?
  2. I have already installing your plugins on my website, but when I build the application, its still showing content from your backend. How can I make the application show content from my Wordpress backend?

Many thanks

Asked 4 years ago on January 10, 2021 11:58 PM Comments 6 times


  1. Generic placeholder image

    MeetMighty replied

    Hi Syaeful,

    Let us know if you have any further queries.

    If not, I will close this ticket as of now. For any further assistance, feel free to generate a new ticket.

    Regards,
    Mighty Support
  2. Generic placeholder image

    David replied

    Ok, please share your chrome remote desktop.

    Thanks & Regards,
    - David
  3. Generic placeholder image

    Syaeful Bahri replied

    Hi David,

    Thank you for your reply. The problem with the deployment target is solved, but there are some error as below

     

    Launching lib/main.dart on iPhone 12 Pro Max in debug mode...

    Running pod install...

    Running Xcode build...

    Xcode build done.                                           51.6s

    Failed to build iOS app

    Error output from Xcode build:

        ** BUILD FAILED **

     

     

    Xcode's output:

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.24/ios/Classes/FlutterWebView.m:367:23: warning: 'mediaPlaybackRequiresUserAction' is deprecated: first deprecated in iOS 9.0 [-Wdeprecated-declarations]

                configuration.mediaPlaybackRequiresUserAction = true;

                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                              mediaTypesRequiringUserActionForPlayback

        In module 'WebKit' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.24/ios/Classes/FlutterWebView.h:6:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:211:28: note: 'mediaPlaybackRequiresUserAction' has been explicitly marked deprecated here

        @property (nonatomic) BOOL mediaPlaybackRequiresUserAction API_DEPRECATED_WITH_REPLACEMENT("mediaTypesRequiringUserActionForPlayback", ios(8.0, 9.0));

                                   ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.24/ios/Classes/FlutterWebView.m:374:23: warning: 'mediaPlaybackRequiresUserAction' is deprecated: first deprecated in iOS 9.0 [-Wdeprecated-declarations]

                configuration.mediaPlaybackRequiresUserAction = false;

                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

                              mediaTypesRequiringUserActionForPlayback

        In module 'WebKit' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/webview_flutter-0.3.24/ios/Classes/FlutterWebView.h:6:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/WebKit.framework/Headers/WKWebViewConfiguration.h:211:28: note: 'mediaPlaybackRequiresUserAction' has been explicitly marked deprecated here

        @property (nonatomic) BOOL mediaPlaybackRequiresUserAction API_DEPRECATED_WITH_REPLACEMENT("mediaTypesRequiringUserActionForPlayback", ios(8.0, 9.0));

                                   ^

        2 warnings generated.

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/PhotoPermissionStrategy.m:39:13: warning: enumeration value 'PHAuthorizationStatusLimited' not handled in switch [-Wswitch]

            switch (authorizationStatus) {

                    ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/PhotoPermissionStrategy.m:39:13: note: add missing switch cases

            switch (authorizationStatus) {

                    ^

        1 warning generated.

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:50:9: warning: 'ABAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]

                ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus();

                ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here

        typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {

                                 ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:50:40: warning: 'ABAddressBookGetAuthorizationStatus' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore authorizationStatusForEntityType:] [-Wdeprecated-declarations]

                ABAuthorizationStatus status = ABAddressBookGetAuthorizationStatus();

                                               ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:50:33: note: 'ABAddressBookGetAuthorizationStatus' has been explicitly marked deprecated here

        AB_EXTERN ABAuthorizationStatus ABAddressBookGetAuthorizationStatus(void) AB_DEPRECATED("use [CNContactStore authorizationStatusForEntityType:]");

                                        ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:53:18: warning: 'kABAuthorizationStatusNotDetermined' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]

                    case kABAuthorizationStatusNotDetermined:

                         ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here

        typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {

                                 ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:55:18: warning: 'kABAuthorizationStatusRestricted' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]

                    case kABAuthorizationStatusRestricted:

                         ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here

        typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {

                                 ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:57:18: warning: 'kABAuthorizationStatusDenied' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]

                    case kABAuthorizationStatusDenied:

                         ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here

        typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {

                                 ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:59:18: warning: 'kABAuthorizationStatusAuthorized' is deprecated: first deprecated in iOS 9.0 - use CNAuthorizationStatus [-Wdeprecated-declarations]

                    case kABAuthorizationStatusAuthorized:

                         ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:44:26: note: 'ABAuthorizationStatus' has been explicitly marked deprecated here

        typedef CF_ENUM(CFIndex, ABAuthorizationStatus) {

                                 ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:79:5: warning: 'ABAddressBookRequestAccessWithCompletion' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore requestAccessForEntityType:completionHandler:] [-Wdeprecated-declarations]

            ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {

            ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:73:16: note: 'ABAddressBookRequestAccessWithCompletion' has been explicitly marked deprecated here

        AB_EXTERN void ABAddressBookRequestAccessWithCompletion(ABAddressBookRef addressBook,  ABAddressBookRequestAccessCompletionHandler completion) AB_DEPRECATED("use [CNContactStore requestAccessForEntityType:completionHandler:]");

                       ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:79:46: warning: 'ABAddressBookCreate' is deprecated: first deprecated in iOS 9.0 - use [[CNContactStore alloc] init] [-Wdeprecated-declarations]

            ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {

                                                     ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:60:28: note: 'ABAddressBookCreate' has been explicitly marked deprecated here

        AB_EXTERN ABAddressBookRef ABAddressBookCreate(void) AB_DEPRECATED("use [[CNContactStore alloc] init]");

                                   ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:89:5: warning: 'ABAddressBookRequestAccessWithCompletion' is deprecated: first deprecated in iOS 9.0 - use [CNContactStore requestAccessForEntityType:completionHandler:] [-Wdeprecated-declarations]

            ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {

            ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:73:16: note: 'ABAddressBookRequestAccessWithCompletion' has been explicitly marked deprecated here

        AB_EXTERN void ABAddressBookRequestAccessWithCompletion(ABAddressBookRef addressBook,  ABAddressBookRequestAccessCompletionHandler completion) AB_DEPRECATED("use [CNContactStore requestAccessForEntityType:completionHandler:]");

                       ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.m:89:46: warning: 'ABAddressBookCreate' is deprecated: first deprecated in iOS 9.0 - use [[CNContactStore alloc] init] [-Wdeprecated-declarations]

            ABAddressBookRequestAccessWithCompletion(ABAddressBookCreate(), ^(bool granted, CFErrorRef error) {

                                                     ^

        In module 'AddressBook' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/permission_handler-5.0.1+1/ios/Classes/strategies/ContactPermissionStrategy.h:11:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/AddressBook.framework/Headers/ABAddressBook.h:60:28: note: 'ABAddressBookCreate' has been explicitly marked deprecated here

        AB_EXTERN ABAddressBookRef ABAddressBookCreate(void) AB_DEPRECATED("use [[CNContactStore alloc] init]");

                                   ^

        10 warnings generated.

        While building module 'OneSignal' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/onesignal_flutter-2.6.2/ios/Classes/OneSignalPlugin.h:29:

        In file included from :1:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:561:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]

        + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

           ^

        In module 'UserNotifications' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:45:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:63:12: note: 'UNMutableNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0

        @interface UNMutableNotificationContent : UNNotificationContent

                   ^

        While building module 'OneSignal' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/onesignal_flutter-2.6.2/ios/Classes/OneSignalPlugin.h:29:

        In file included from :1:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:561:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an availability attribute to silence this warning

        + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

        ^

                                                                                                                                                                                                 API_AVAILABLE(ios(10.0))

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:561:74: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer [-Wunguarded-availability]

        + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

                                                                                 ^

        In module 'UserNotifications' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:45:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: 'UNNotificationRequest' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0

        @interface UNNotificationRequest : NSObject

                   ^

        While building module 'OneSignal' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/onesignal_flutter-2.6.2/ios/Classes/OneSignalPlugin.h:29:

        In file included from :1:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:561:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an availability attribute to silence this warning

        + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

        ^

                                                                                                                                                                                                 API_AVAILABLE(ios(10.0))

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:561:137: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]

        + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

                                                                                                                                                ^

        In module 'UserNotifications' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:45:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:63:12: note: 'UNMutableNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0

        @interface UNMutableNotificationContent : UNNotificationContent

                   ^

        While building module 'OneSignal' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/onesignal_flutter-2.6.2/ios/Classes/OneSignalPlugin.h:29:

        In file included from :1:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:561:1: note: annotate 'didReceiveNotificationExtensionRequest:withMutableNotificationContent:' with an availability attribute to silence this warning

        + (UNMutableNotificationContent*)didReceiveNotificationExtensionRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

        ^

                                                                                                                                                                                                 API_AVAILABLE(ios(10.0))

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:562:4: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]

        + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

           ^

        In module 'UserNotifications' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:45:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:63:12: note: 'UNMutableNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0

        @interface UNMutableNotificationContent : UNNotificationContent

                   ^

        While building module 'OneSignal' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/onesignal_flutter-2.6.2/ios/Classes/OneSignalPlugin.h:29:

        In file included from :1:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:562:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an availability attribute to silence this warning

        + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

        ^

                                                                                                                                                                                                API_AVAILABLE(ios(10.0))

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:562:73: warning: 'UNNotificationRequest' is only available on iOS 10.0 or newer [-Wunguarded-availability]

        + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

                                                                                ^

        In module 'UserNotifications' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:45:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h:16:12: note: 'UNNotificationRequest' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0

        @interface UNNotificationRequest : NSObject

                   ^

        While building module 'OneSignal' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/onesignal_flutter-2.6.2/ios/Classes/OneSignalPlugin.h:29:

        In file included from :1:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:562:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an availability attribute to silence this warning

        + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

        ^

                                                                                                                                                                                                API_AVAILABLE(ios(10.0))

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:562:136: warning: 'UNMutableNotificationContent' is only available on iOS 10.0 or newer [-Wunguarded-availability]

        + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

                                                                                                                                               ^

        In module 'UserNotifications' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:45:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h:63:12: note: 'UNMutableNotificationContent' has been marked as being introduced in iOS 10.0 here, but the deployment target is iOS 9.0.0

        @interface UNMutableNotificationContent : UNNotificationContent

                   ^

        While building module 'OneSignal' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/onesignal_flutter-2.6.2/ios/Classes/OneSignalPlugin.h:29:

        In file included from :1:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/OneSignal/iOS_SDK/OneSignalSDK/Framework/OneSignal.framework/Headers/OneSignal.h:562:1: note: annotate 'serviceExtensionTimeWillExpireRequest:withMutableNotificationContent:' with an availability attribute to silence this warning

        + (UNMutableNotificationContent*)serviceExtensionTimeWillExpireRequest:(UNNotificationRequest*)request withMutableNotificationContent:(UNMutableNotificationContent*)replacementContent;

        ^

                                                                                                                                                                                                API_AVAILABLE(ios(10.0))

        6 warnings generated.

        6 warnings generated.

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/image_picker-0.6.7+21/ios/Classes/FLTImagePickerPlugin.m:149:20: warning: 'UIAlertView' is deprecated: first deprecated in iOS 9.0 - UIAlertView is deprecated. Use UIAlertController with a preferredStyle of UIAlertControllerStyleAlert instead [-Wdeprecated-declarations]

            [[[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Error", nil)

                           ^

        In module 'UIKit' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Target Support Files/image_picker/image_picker-prefix.pch:2:

        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h:27:12: note: 'UIAlertView' has been explicitly marked deprecated here

        @interface UIAlertView : UIView

                   ^

        1 warning generated.

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:80:37: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAd:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd

                                            ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:87:37: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAd:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd

                                            ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:95:49: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAdDidReceiveAd:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd {

                                                        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:100:44: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAdDidOpen:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd {

                                                   ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:104:52: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAdDidStartPlaying:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd {

                                                           ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:108:55: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAdDidCompletePlaying:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd {

                                                              ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:112:45: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAdDidClose:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd {

                                                    ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:117:57: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

        - (void)rewardBasedVideoAdWillLeaveApplication:(nonnull GADRewardBasedVideoAd *)rewardBasedVideoAd {

                                                                ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:39:28: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

            [GADRewardBasedVideoAd sharedInstance].delegate = self;

                                   ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:56:27: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

          [[GADRewardBasedVideoAd sharedInstance] loadRequest:[factory createRequest]

                                  ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:61:27: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

          [[GADRewardBasedVideoAd sharedInstance]

                                  ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:66:27: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

          [[GADRewardBasedVideoAd sharedInstance] setUserIdentifier:userIdentifier];

                                  ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:70:27: warning: 'GADRewardBasedVideoAd' is deprecated: Use GADRewardedAd instead. Google AdMob publishers, follow instructions here: https://googlemobileadssdk.page.link/admob-ios-rewarded-migration. Google Ad Manager publishers, follow instructions here: https://googlemobileadssdk.page.link/admanager-ios-rewarded-migration. [-Wdeprecated-declarations]

          [[GADRewardBasedVideoAd sharedInstance] setCustomRewardString:customRewardString];

                                  ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRewardBasedVideoAd.h:17:1: note: 'GADRewardBasedVideoAd' has been explicitly marked deprecated here

        GAD_DEPRECATED_MSG_ATTRIBUTE(

        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.h:6:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRewardedVideoAdWrapper.m:75:66: warning: implicit conversion loses integer precision: 'FLTRewardedVideoAdStatus' to 'int' [-Wshorten-64-to-32]

              (NSString *)rewardedStatusToString[[NSNumber numberWithInt:_rewardedStatus]];

                                                 ~                       ^~~~~~~~~~~~~~~

        14 warnings generated.

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.m:71:13: warning: 'testDevices' is deprecated: Use GADMobileAds.sharedInstance.requestConfiguration.testDeviceIdentifiers. [-Wdeprecated-declarations]

            request.testDevices = testDevices;

                    ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:88:71: note: 'testDevices' has been explicitly marked deprecated here

        @property(nonatomic, copy, nullable) NSArray *testDevices GAD_DEPRECATED_MSG_ATTRIBUTE(

                                                                              ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.m:91:15: warning: 'birthday' is deprecated [-Wdeprecated-declarations]

              request.birthday =

                      ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:95:55: note: 'birthday' has been explicitly marked deprecated here

        @property(nonatomic, copy, nullable) NSDate *birthday GAD_DEPRECATED_ATTRIBUTE;

                                                              ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:33:49: note: expanded from macro 'GAD_DEPRECATED_ATTRIBUTE'

        #define GAD_DEPRECATED_ATTRIBUTE __attribute__((deprecated))

                                                        ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.m:106:19: warning: 'gender' is deprecated [-Wdeprecated-declarations]

                  request.gender = genderValue;

                          ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:92:47: note: 'gender' has been explicitly marked deprecated here

        @property(nonatomic, assign) GADGender gender GAD_DEPRECATED_ATTRIBUTE;

                                                      ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:33:49: note: expanded from macro 'GAD_DEPRECATED_ATTRIBUTE'

        #define GAD_DEPRECATED_ATTRIBUTE __attribute__((deprecated))

                                                        ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.m:116:14: warning: 'tagForChildDirectedTreatment:' is deprecated:  use [GADMobileAds.sharedInstance.requestConfiguration tagForChildDirectedTreatment] [-Wdeprecated-declarations]

            [request tagForChildDirectedTreatment:childDirected.boolValue];

                     ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADRequest.h:130:5: note: 'tagForChildDirectedTreatment:' has been explicitly marked deprecated here

            GAD_DEPRECATED_MSG_ATTRIBUTE(

            ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTRequestFactory.h:5:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        4 warnings generated.

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTMobileAd.m:39:17: warning: 'configureWithApplicationID:' is deprecated: Use [GADMobileAds.sharedInstance startWithCompletionHandler:] [-Wdeprecated-declarations]

          [GADMobileAds configureWithApplicationID:appId];

                        ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Headers/Public/Firebase/Firebase.h:165:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GADMobileAds.h:85:5: note: 'configureWithApplicationID:' has been explicitly marked deprecated here

            GAD_DEPRECATED_MSG_ATTRIBUTE("Use [GADMobileAds.sharedInstance startWithCompletionHandler:]");

            ^

        In module 'GoogleMobileAds' imported from /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Headers/Public/Firebase/Firebase.h:165:

        /Users/syaefulbahri/Downloads/MainFile_SourceCode/flutter source code/mighty_news/ios/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework-Current/GoogleMobileAds.framework/Headers/GoogleMobileAdsDefines.h:25:56: note: expanded from macro 'GAD_DEPRECATED_MSG_ATTRIBUTE'

        #define GAD_DEPRECATED_MSG_ATTRIBUTE(s) __attribute__((deprecated(s)))

                                                               ^

        /Users/syaefulbahri/.pub-cache/hosted/pub.dartlang.org/firebase_admob-0.10.3/ios/Classes/FLTMobileAd.m:97:79: warning: implicit conversion loses integer precision: 'FLTMobileAdStatus' to 'int' [-Wshorten-64-to-32]

          NSString *statusString = (NSString *)statusToString[[NSNumber numberWithInt:_status]];

                                                              ~                       ^~~~~~~

        2 warnings generated.

        lib/screens/SplashScreen.dart:55:11: Error: The method 'LoginScreen' isn't defined for the class 'SplashScreenState'.

         - 'SplashScreenState' is from 'package:mighty_news/screens/SplashScreen.dart' ('lib/screens/SplashScreen.dart').

        Try correcting the name to the name of an existing method, or defining a method named 'LoginScreen'.

                  LoginScreen().launch(context, isNewTask: true);

                  ^^^^^^^^^^^

        lib/screens/SplashScreen.dart:57:11: Error: The method 'LoginScreen' isn't defined for the class 'SplashScreenState'.

         - 'SplashScreenState' is from 'package:mighty_news/screens/SplashScreen.dart' ('lib/screens/SplashScreen.dart').

        Try correcting the name to the name of an existing method, or defining a method named 'LoginScreen'.

                  LoginScreen().launch(context, isNewTask: true);

                  ^^^^^^^^^^^

        lib/screens/SplashScreen.dart:63:7: Error: The method 'LoginScreen' isn't defined for the class 'SplashScreenState'.

         - 'SplashScreenState' is from 'package:mighty_news/screens/SplashScreen.dart' ('lib/screens/SplashScreen.dart').

        Try correcting the name to the name of an existing method, or defining a method named 'LoginScreen'.

              LoginScreen().launch(context, isNewTask: true);

              ^^^^^^^^^^^

     

        Command PhaseScriptExecution failed with a nonzero exit code

        note: Using new build system

        note: Building targets in parallel

        note: Planning build

        note: Constructing build description

     

    Could not build the application for the simulator.

    Error launching application on iPhone 12 Pro Max.

     

  4. Generic placeholder image

    David replied

    Hello, you have to set deployment target to 9.0. you can do this in xcode. Open your project in xcode. Runner -> then select TARGETS -> Deployment Info -> here change your target from 9.0 to 9.0.

    Now, run again your app.

    Thanks & Regards,
    - David
  5. Generic placeholder image

    Syaeful Bahri replied

    Hi David,

    Thank you for your reply. I really appreciate.

    I have change DashboardScreen() with LoginScreen(). Below is the code

    if (!getBoolAsync(IS_REMEMBERED, defaultValue: true)) {
    appStore.setLoggedIn(false);
    LoginScreen().launch(context, isNewTask: true);
    } else {
    LoginScreen().launch(context, isNewTask: true);
    }
    }).catchError((e) async {
    await logout(context);
    });
    } else {
    LoginScreen().launch(context, isNewTask: true);
    }
    }

    The problem is when I try to run and build it within Android Studio, there are error

    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 14.3.99

    Could not build the application for the simulator.

    Error launching application on iPhone 12 Pro Max.

    Can you please help me with this?

    Thanks

  6. Generic placeholder image

    David replied

    Hello, 
    1. Yes, you need to do some minor redirection for this. open lib/screens/SplashScreen.dart file and replace DashboardScreen() with LoginScreen().
    2. You need to replace your domain with ours. open lib/utils/Constants.dart file and at line number 4 you can replace your base URL.
     
    Thanks & Regards,
    - David
Recent Tickets
Backend not working after... 1 month ago on March 27, 2025 7:15 AM river is not receiving ri... 3 months ago on January 29, 2025 9:03 AM App is showing blank afte... 3 days ago on May 8, 2025 2:57 PM The app Issue 1 week ago on April 30, 2025 6:44 PM Unable to setup back end ... 1 month ago on March 27, 2025 3:48 AM Friend Request and Distan... 1 month ago on March 18, 2025 4:11 AM Build Faild 2 months ago on March 9, 2025 2:15 PM Error during build... 2 months ago on March 4, 2025 8:51 PM help 2 months ago on March 3, 2025 1:13 AM Connection Refused Error... 2 months ago on February 27, 2025 4:47 AM