Skip to content
forked from gm9br/XWeather

A weather app for iOS and Android built with Xamarin

License

Notifications You must be signed in to change notification settings

vackup/XWeather

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XWeather

A weather app built with Xamarin

Screenshots

Getting Started

You'll need to obtain a few API Keys and add them to a PrivateKeys.cs file in order to build and run app locally. You'll find instructions for obtaining and adding each key below.

PrivateKeys.cs

First, move (or copy) the template private keys file extras/PrivateKeys.cs into the constants directory XWeather/XWeather/Constants.

Weather Underground

XWeather gets weather data from Weather Underground's API. There are static data files included in the iOS and Android app bundle that will allow you to build and run the app with "test data". However, in order to get live weather data, add additional locations, etc., you'll need to create an Weather Underground account and obtain an API key. The free "Developer" tier is sufficient to run the app.

  • Sign up for new a Weather Underground account (or login to an existing one)
  • Purchase an new API Key. Make sure to select ANVIL PLAN, as the app uses several pieces of data in that plat.
  • In PrivateKeys.cs set the value of WuApiKey to your Weather Underground API Key.

Google Maps API key (Android)

To use location services in the Android version of XWeather, you'll need to obtain a Google Maps API key.

  • Follow the step-by-step guide to obtain a Google Maps API key.
  • In PrivateKeys.cs set the value of GoogleMapsApiKey to your Weather Underground API Key.

HockeyApp (optional)

HockeyApp is a platform to collect live crash reports, get feedback from your users, distribute your betas, recruit new testers, and analyze your test coverage.

Setting up HockeyApp is completely optional. You can set it up by following the steps listed below. However, if you'd rather skip this step for now, simply leave the values of HockeyApiKey_iOS and HockeyApiKey_Droid as empty strings.

  • Sign up for new a HockeyApp account (or login to an existing one)
  • Follow the How to create a new app tutorial to create an iOS and Android app.
  • In PrivateKeys.cs set the value of HockeyApiKey_iOS and HockeyApiKey_Droid to your new HockeyApp iOS and Android API keys respectively.

Build Status

Project CI (master) Nightly (master) Weekly (master)
iOS iOS CI iOS Nightly iOS Weekly
Android Android CI Android Nightly Android Weekly
macOS n/a n/a n/a

License

The MIT License (MIT) Copyright (c) 2016 Colby Williams

About

A weather app for iOS and Android built with Xamarin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 95.1%
  • Shell 4.9%