adilwahla / Clima-weather-app

weather app that gives the weather of places round the globe you entered with suggestions
4 stars 3 forks source link
accuweather-api clima flutter flutter-weather-app hactoberfest weather-api

Clima-weather-app

weather app that gives the weather of places round the globe you entered with suggestions

Clima

Screenshot from 2022-10-03 15-17-44

Our Goal

It’s time to take our app development skills to the next level. We’re going to introduce you to the wonderful world of Cocoapods and open source libraries. These will power your apps to do incredible things without having to spend months coding up the functionality. Additionally, we’ll learn how to call Application Programming Interfaces (APIs) to grab data from websites. If you’re dreaming of making that Twitter-powered stock trading app then you’re about to get a lot closer to your goal!

What you will create

Clima is a location-aware weather app. It will find out where you are in the world and query an open source weather service to retrieve the temperature and weather conditions. Also, you can change the city at the tap of a button. Want to know what it’s like in Rio? Clima is here to help. Weather apps are so popular that they get their own category in the App Store.

What you will learn

Fix for Cocoapods v1.0.1 and below

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0'
      config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = '10.10'
    end
  end
end

Fix for App Transport Security Override

    <key>NSAppTransportSecurity</key>
    <dict>
        <key>NSExceptionDomains</key>
        <dict>
            <key>openweathermap.org</key>
            <dict>
                <key>NSIncludesSubdomains</key>

                <true/>
                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
                <true/>
            </dict>
        </dict>
    </dict>

Feel free to contribute