aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/iPhone
diff options
context:
space:
mode:
Diffstat (limited to 'phonegap/iPhone')
-rw-r--r--phonegap/iPhone/FixMyStreet.xcodeproj/project.pbxproj557
-rw-r--r--phonegap/iPhone/FixMyStreet.xcodeproj/project.xcworkspace/contents.xcworkspacedata7
-rw-r--r--phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/FixMyStreet.xcscheme84
-rw-r--r--phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/xcschememanagement.plist22
-rw-r--r--phonegap/iPhone/FixMyStreet/Classes/AppDelegate.h50
-rw-r--r--phonegap/iPhone/FixMyStreet/Classes/AppDelegate.m140
-rw-r--r--phonegap/iPhone/FixMyStreet/Classes/MainViewController.h36
-rw-r--r--phonegap/iPhone/FixMyStreet/Classes/MainViewController.m140
-rw-r--r--phonegap/iPhone/FixMyStreet/Classes/MainViewController.xib118
-rw-r--r--phonegap/iPhone/FixMyStreet/Cordova.plist63
-rw-r--r--phonegap/iPhone/FixMyStreet/FixMyStreet-Info.plist53
-rw-r--r--phonegap/iPhone/FixMyStreet/FixMyStreet-Prefix.pch7
-rw-r--r--phonegap/iPhone/FixMyStreet/Plugins/README1
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg.pngbin0 -> 955 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg@2x.pngbin0 -> 971 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg~ipad.pngbin0 -> 969 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone.pngbin0 -> 72226 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone@2x.pngbin0 -> 282409 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone~ipad.pngbin0 -> 393975 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button.pngbin0 -> 5852 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button@2x.pngbin0 -> 13875 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button~ipad.pngbin0 -> 7547 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg.pngbin0 -> 973 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg@2x.pngbin0 -> 990 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg~ipad.pngbin0 -> 996 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button.pngbin0 -> 5514 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button@2x.pngbin0 -> 12965 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button~ipad.pngbin0 -> 7119 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/de.lproj/Localizable.strings26
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/en.lproj/Localizable.strings25
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/es.lproj/Localizable.strings25
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/icons/icon-72.pngbin0 -> 4944 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/icons/icon.pngbin0 -> 3902 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/icons/icon@2x.pngbin0 -> 7869 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/se.lproj/Localizable.strings26
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/splash/Default.pngbin0 -> 9537 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/Resources/splash/Default@2x.pngbin0 -> 22029 bytes
-rw-r--r--phonegap/iPhone/FixMyStreet/en.lproj/InfoPlist.strings2
-rw-r--r--phonegap/iPhone/FixMyStreet/main.m35
-rwxr-xr-xphonegap/iPhone/FixMyStreet/verify.sh12
40 files changed, 1429 insertions, 0 deletions
diff --git a/phonegap/iPhone/FixMyStreet.xcodeproj/project.pbxproj b/phonegap/iPhone/FixMyStreet.xcodeproj/project.pbxproj
new file mode 100644
index 000000000..9dea27891
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet.xcodeproj/project.pbxproj
@@ -0,0 +1,557 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 24D3BF4C1508D60F005923FE /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF4B1508D60F005923FE /* Foundation.framework */; };
+ 24D3BF4E1508D60F005923FE /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF4D1508D60F005923FE /* UIKit.framework */; };
+ 24D3BF501508D60F005923FE /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF4F1508D60F005923FE /* CoreGraphics.framework */; };
+ 24D3BF521508D60F005923FE /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF511508D60F005923FE /* AddressBook.framework */; };
+ 24D3BF541508D60F005923FE /* AddressBookUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF531508D60F005923FE /* AddressBookUI.framework */; };
+ 24D3BF561508D60F005923FE /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF551508D60F005923FE /* AudioToolbox.framework */; };
+ 24D3BF581508D60F005923FE /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF571508D60F005923FE /* AVFoundation.framework */; };
+ 24D3BF5A1508D60F005923FE /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF591508D60F005923FE /* CoreLocation.framework */; };
+ 24D3BF5C1508D60F005923FE /* MediaPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF5B1508D60F005923FE /* MediaPlayer.framework */; };
+ 24D3BF5E1508D60F005923FE /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF5D1508D60F005923FE /* QuartzCore.framework */; };
+ 24D3BF601508D60F005923FE /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF5F1508D60F005923FE /* SystemConfiguration.framework */; };
+ 24D3BF621508D60F005923FE /* MobileCoreServices.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF611508D60F005923FE /* MobileCoreServices.framework */; };
+ 24D3BF641508D60F005923FE /* CoreMedia.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF631508D60F005923FE /* CoreMedia.framework */; };
+ 24D3BF6A1508D60F005923FE /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF681508D60F005923FE /* InfoPlist.strings */; };
+ 24D3BF6C1508D60F005923FE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 24D3BF6B1508D60F005923FE /* main.m */; };
+ 24D3BF6F1508D60F005923FE /* Cordova.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 24D3BF6E1508D60F005923FE /* Cordova.framework */; };
+ 24D3BF741508D60F005923FE /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF721508D60F005923FE /* Localizable.strings */; };
+ 24D3BF781508D60F005923FE /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF761508D60F005923FE /* Localizable.strings */; };
+ 24D3BF7C1508D60F005923FE /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF7A1508D60F005923FE /* Localizable.strings */; };
+ 24D3BF801508D60F005923FE /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF7E1508D60F005923FE /* Localizable.strings */; };
+ 24D3BF831508D60F005923FE /* icon.png in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF821508D60F005923FE /* icon.png */; };
+ 24D3BF851508D60F005923FE /* icon@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF841508D60F005923FE /* icon@2x.png */; };
+ 24D3BF871508D60F005923FE /* icon-72.png in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF861508D60F005923FE /* icon-72.png */; };
+ 24D3BF8A1508D60F005923FE /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF891508D60F005923FE /* Default.png */; };
+ 24D3BF8C1508D60F005923FE /* Default@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF8B1508D60F005923FE /* Default@2x.png */; };
+ 24D3BF8E1508D60F005923FE /* Capture.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF8D1508D60F005923FE /* Capture.bundle */; };
+ 24D3BF901508D60F005923FE /* Cordova.plist in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF8F1508D60F005923FE /* Cordova.plist */; };
+ 24D3BF941508D60F005923FE /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 24D3BF931508D60F005923FE /* AppDelegate.m */; };
+ 24D3BF971508D60F005923FE /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 24D3BF961508D60F005923FE /* MainViewController.m */; };
+ 24D3BF991508D60F005923FE /* MainViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF981508D60F005923FE /* MainViewController.xib */; };
+ 24D3BF9D1508D60F005923FE /* verify.sh in Resources */ = {isa = PBXBuildFile; fileRef = 24D3BF9C1508D60F005923FE /* verify.sh */; };
+ 24E16541150E0F9600F31308 /* www in Resources */ = {isa = PBXBuildFile; fileRef = 24E16540150E0F9600F31308 /* www */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXFileReference section */
+ 24D3BF471508D60F005923FE /* FixMyStreet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = FixMyStreet.app; sourceTree = BUILT_PRODUCTS_DIR; };
+ 24D3BF4B1508D60F005923FE /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
+ 24D3BF4D1508D60F005923FE /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
+ 24D3BF4F1508D60F005923FE /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
+ 24D3BF511508D60F005923FE /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; };
+ 24D3BF531508D60F005923FE /* AddressBookUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBookUI.framework; path = System/Library/Frameworks/AddressBookUI.framework; sourceTree = SDKROOT; };
+ 24D3BF551508D60F005923FE /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
+ 24D3BF571508D60F005923FE /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
+ 24D3BF591508D60F005923FE /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; };
+ 24D3BF5B1508D60F005923FE /* MediaPlayer.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MediaPlayer.framework; path = System/Library/Frameworks/MediaPlayer.framework; sourceTree = SDKROOT; };
+ 24D3BF5D1508D60F005923FE /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
+ 24D3BF5F1508D60F005923FE /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; };
+ 24D3BF611508D60F005923FE /* MobileCoreServices.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MobileCoreServices.framework; path = System/Library/Frameworks/MobileCoreServices.framework; sourceTree = SDKROOT; };
+ 24D3BF631508D60F005923FE /* CoreMedia.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMedia.framework; path = System/Library/Frameworks/CoreMedia.framework; sourceTree = SDKROOT; };
+ 24D3BF671508D60F005923FE /* FixMyStreet-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FixMyStreet-Info.plist"; sourceTree = "<group>"; };
+ 24D3BF691508D60F005923FE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 24D3BF6B1508D60F005923FE /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
+ 24D3BF6D1508D60F005923FE /* FixMyStreet-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "FixMyStreet-Prefix.pch"; sourceTree = "<group>"; };
+ 24D3BF6E1508D60F005923FE /* Cordova.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cordova.framework; path = /Users/Shared/Cordova/Frameworks/Cordova.framework; sourceTree = "<absolute>"; };
+ 24D3BF731508D60F005923FE /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = Resources/en.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 24D3BF771508D60F005923FE /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = Resources/es.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 24D3BF7B1508D60F005923FE /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = Resources/de.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 24D3BF7F1508D60F005923FE /* se */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = se; path = Resources/se.lproj/Localizable.strings; sourceTree = "<group>"; };
+ 24D3BF821508D60F005923FE /* icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = icon.png; path = Resources/icons/icon.png; sourceTree = "<group>"; };
+ 24D3BF841508D60F005923FE /* icon@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "icon@2x.png"; path = "Resources/icons/icon@2x.png"; sourceTree = "<group>"; };
+ 24D3BF861508D60F005923FE /* icon-72.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "icon-72.png"; path = "Resources/icons/icon-72.png"; sourceTree = "<group>"; };
+ 24D3BF891508D60F005923FE /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = Default.png; path = Resources/splash/Default.png; sourceTree = "<group>"; };
+ 24D3BF8B1508D60F005923FE /* Default@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = "Default@2x.png"; path = "Resources/splash/Default@2x.png"; sourceTree = "<group>"; };
+ 24D3BF8D1508D60F005923FE /* Capture.bundle */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.plug-in"; name = Capture.bundle; path = Resources/Capture.bundle; sourceTree = "<group>"; };
+ 24D3BF8F1508D60F005923FE /* Cordova.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Cordova.plist; sourceTree = "<group>"; };
+ 24D3BF921508D60F005923FE /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Classes/AppDelegate.h; sourceTree = "<group>"; };
+ 24D3BF931508D60F005923FE /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Classes/AppDelegate.m; sourceTree = "<group>"; };
+ 24D3BF951508D60F005923FE /* MainViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = MainViewController.h; path = Classes/MainViewController.h; sourceTree = "<group>"; };
+ 24D3BF961508D60F005923FE /* MainViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = MainViewController.m; path = Classes/MainViewController.m; sourceTree = "<group>"; };
+ 24D3BF981508D60F005923FE /* MainViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = MainViewController.xib; path = Classes/MainViewController.xib; sourceTree = "<group>"; };
+ 24D3BF9B1508D60F005923FE /* README */ = {isa = PBXFileReference; lastKnownFileType = text; name = README; path = Plugins/README; sourceTree = "<group>"; };
+ 24D3BF9C1508D60F005923FE /* verify.sh */ = {isa = PBXFileReference; lastKnownFileType = text.script.sh; path = verify.sh; sourceTree = "<group>"; };
+ 24E16540150E0F9600F31308 /* www */ = {isa = PBXFileReference; lastKnownFileType = folder; name = www; path = ../www; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 24D3BF411508D60F005923FE /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 24D3BF4C1508D60F005923FE /* Foundation.framework in Frameworks */,
+ 24D3BF4E1508D60F005923FE /* UIKit.framework in Frameworks */,
+ 24D3BF501508D60F005923FE /* CoreGraphics.framework in Frameworks */,
+ 24D3BF521508D60F005923FE /* AddressBook.framework in Frameworks */,
+ 24D3BF541508D60F005923FE /* AddressBookUI.framework in Frameworks */,
+ 24D3BF561508D60F005923FE /* AudioToolbox.framework in Frameworks */,
+ 24D3BF581508D60F005923FE /* AVFoundation.framework in Frameworks */,
+ 24D3BF5A1508D60F005923FE /* CoreLocation.framework in Frameworks */,
+ 24D3BF5C1508D60F005923FE /* MediaPlayer.framework in Frameworks */,
+ 24D3BF5E1508D60F005923FE /* QuartzCore.framework in Frameworks */,
+ 24D3BF601508D60F005923FE /* SystemConfiguration.framework in Frameworks */,
+ 24D3BF621508D60F005923FE /* MobileCoreServices.framework in Frameworks */,
+ 24D3BF641508D60F005923FE /* CoreMedia.framework in Frameworks */,
+ 24D3BF6F1508D60F005923FE /* Cordova.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 24D3BF441508D60F005923FE /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 24D3BF391508D60E005923FE = {
+ isa = PBXGroup;
+ children = (
+ 24E16540150E0F9600F31308 /* www */,
+ 24D3BF651508D60F005923FE /* FixMyStreet */,
+ 24D3BF4A1508D60F005923FE /* Frameworks */,
+ 24D3BF481508D60F005923FE /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 24D3BF481508D60F005923FE /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF471508D60F005923FE /* FixMyStreet.app */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 24D3BF4A1508D60F005923FE /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF4B1508D60F005923FE /* Foundation.framework */,
+ 24D3BF4D1508D60F005923FE /* UIKit.framework */,
+ 24D3BF4F1508D60F005923FE /* CoreGraphics.framework */,
+ 24D3BF511508D60F005923FE /* AddressBook.framework */,
+ 24D3BF531508D60F005923FE /* AddressBookUI.framework */,
+ 24D3BF551508D60F005923FE /* AudioToolbox.framework */,
+ 24D3BF571508D60F005923FE /* AVFoundation.framework */,
+ 24D3BF591508D60F005923FE /* CoreLocation.framework */,
+ 24D3BF5B1508D60F005923FE /* MediaPlayer.framework */,
+ 24D3BF5D1508D60F005923FE /* QuartzCore.framework */,
+ 24D3BF5F1508D60F005923FE /* SystemConfiguration.framework */,
+ 24D3BF611508D60F005923FE /* MobileCoreServices.framework */,
+ 24D3BF631508D60F005923FE /* CoreMedia.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "<group>";
+ };
+ 24D3BF651508D60F005923FE /* FixMyStreet */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF6E1508D60F005923FE /* Cordova.framework */,
+ 24D3BF701508D60F005923FE /* Resources */,
+ 24D3BF911508D60F005923FE /* Classes */,
+ 24D3BF9A1508D60F005923FE /* Plugins */,
+ 24D3BF661508D60F005923FE /* Supporting Files */,
+ );
+ path = FixMyStreet;
+ sourceTree = "<group>";
+ };
+ 24D3BF661508D60F005923FE /* Supporting Files */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF671508D60F005923FE /* FixMyStreet-Info.plist */,
+ 24D3BF681508D60F005923FE /* InfoPlist.strings */,
+ 24D3BF6B1508D60F005923FE /* main.m */,
+ 24D3BF6D1508D60F005923FE /* FixMyStreet-Prefix.pch */,
+ 24D3BF8F1508D60F005923FE /* Cordova.plist */,
+ 24D3BF981508D60F005923FE /* MainViewController.xib */,
+ 24D3BF9C1508D60F005923FE /* verify.sh */,
+ );
+ name = "Supporting Files";
+ sourceTree = "<group>";
+ };
+ 24D3BF701508D60F005923FE /* Resources */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF8D1508D60F005923FE /* Capture.bundle */,
+ 24D3BF711508D60F005923FE /* en.lproj */,
+ 24D3BF751508D60F005923FE /* es.lproj */,
+ 24D3BF791508D60F005923FE /* de.lproj */,
+ 24D3BF7D1508D60F005923FE /* se.lproj */,
+ 24D3BF811508D60F005923FE /* icons */,
+ 24D3BF881508D60F005923FE /* splash */,
+ );
+ name = Resources;
+ sourceTree = "<group>";
+ };
+ 24D3BF711508D60F005923FE /* en.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF721508D60F005923FE /* Localizable.strings */,
+ );
+ name = en.lproj;
+ sourceTree = "<group>";
+ };
+ 24D3BF751508D60F005923FE /* es.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF761508D60F005923FE /* Localizable.strings */,
+ );
+ name = es.lproj;
+ sourceTree = "<group>";
+ };
+ 24D3BF791508D60F005923FE /* de.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF7A1508D60F005923FE /* Localizable.strings */,
+ );
+ name = de.lproj;
+ sourceTree = "<group>";
+ };
+ 24D3BF7D1508D60F005923FE /* se.lproj */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF7E1508D60F005923FE /* Localizable.strings */,
+ );
+ name = se.lproj;
+ sourceTree = "<group>";
+ };
+ 24D3BF811508D60F005923FE /* icons */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF821508D60F005923FE /* icon.png */,
+ 24D3BF841508D60F005923FE /* icon@2x.png */,
+ 24D3BF861508D60F005923FE /* icon-72.png */,
+ );
+ name = icons;
+ sourceTree = "<group>";
+ };
+ 24D3BF881508D60F005923FE /* splash */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF891508D60F005923FE /* Default.png */,
+ 24D3BF8B1508D60F005923FE /* Default@2x.png */,
+ );
+ name = splash;
+ sourceTree = "<group>";
+ };
+ 24D3BF911508D60F005923FE /* Classes */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF921508D60F005923FE /* AppDelegate.h */,
+ 24D3BF931508D60F005923FE /* AppDelegate.m */,
+ 24D3BF951508D60F005923FE /* MainViewController.h */,
+ 24D3BF961508D60F005923FE /* MainViewController.m */,
+ );
+ name = Classes;
+ sourceTree = "<group>";
+ };
+ 24D3BF9A1508D60F005923FE /* Plugins */ = {
+ isa = PBXGroup;
+ children = (
+ 24D3BF9B1508D60F005923FE /* README */,
+ );
+ name = Plugins;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 24D3BF461508D60F005923FE /* FixMyStreet */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 24D3BFA01508D60F005923FE /* Build configuration list for PBXNativeTarget "FixMyStreet" */;
+ buildPhases = (
+ 24D3BF401508D60F005923FE /* Sources */,
+ 24D3BF411508D60F005923FE /* Frameworks */,
+ 24D3BF421508D60F005923FE /* Resources */,
+ 24D3BF431508D60F005923FE /* Sources */,
+ 24D3BF441508D60F005923FE /* Frameworks */,
+ 24D3BF451508D60F005923FE /* ShellScript */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = FixMyStreet;
+ productName = FixMyStreet;
+ productReference = 24D3BF471508D60F005923FE /* FixMyStreet.app */;
+ productType = "com.apple.product-type.application";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 24D3BF3B1508D60E005923FE /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ };
+ buildConfigurationList = 24D3BF3E1508D60E005923FE /* Build configuration list for PBXProject "FixMyStreet" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ es,
+ de,
+ se,
+ );
+ mainGroup = 24D3BF391508D60E005923FE;
+ productRefGroup = 24D3BF481508D60F005923FE /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 24D3BF461508D60F005923FE /* FixMyStreet */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 24D3BF421508D60F005923FE /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 24D3BF6A1508D60F005923FE /* InfoPlist.strings in Resources */,
+ 24D3BF741508D60F005923FE /* Localizable.strings in Resources */,
+ 24D3BF781508D60F005923FE /* Localizable.strings in Resources */,
+ 24D3BF7C1508D60F005923FE /* Localizable.strings in Resources */,
+ 24D3BF801508D60F005923FE /* Localizable.strings in Resources */,
+ 24D3BF831508D60F005923FE /* icon.png in Resources */,
+ 24D3BF851508D60F005923FE /* icon@2x.png in Resources */,
+ 24D3BF871508D60F005923FE /* icon-72.png in Resources */,
+ 24D3BF8A1508D60F005923FE /* Default.png in Resources */,
+ 24D3BF8C1508D60F005923FE /* Default@2x.png in Resources */,
+ 24D3BF8E1508D60F005923FE /* Capture.bundle in Resources */,
+ 24D3BF901508D60F005923FE /* Cordova.plist in Resources */,
+ 24D3BF991508D60F005923FE /* MainViewController.xib in Resources */,
+ 24D3BF9D1508D60F005923FE /* verify.sh in Resources */,
+ 24E16541150E0F9600F31308 /* www in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXShellScriptBuildPhase section */
+ 24D3BF451508D60F005923FE /* ShellScript */ = {
+ isa = PBXShellScriptBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ inputPaths = (
+ );
+ outputPaths = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ shellPath = /bin/bash;
+ shellScript = "\n\t\t\t\t\t\t\t\tchmod 755 $PROJECT_DIR/$PROJECT_NAME/verify.sh\n\t\t\t\t\t\t\t\t$PROJECT_DIR/$PROJECT_NAME/verify.sh\n\t\t\t\t\t";
+ };
+/* End PBXShellScriptBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 24D3BF401508D60F005923FE /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 24D3BF6C1508D60F005923FE /* main.m in Sources */,
+ 24D3BF941508D60F005923FE /* AppDelegate.m in Sources */,
+ 24D3BF971508D60F005923FE /* MainViewController.m in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 24D3BF431508D60F005923FE /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXVariantGroup section */
+ 24D3BF681508D60F005923FE /* InfoPlist.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 24D3BF691508D60F005923FE /* en */,
+ );
+ name = InfoPlist.strings;
+ sourceTree = "<group>";
+ };
+ 24D3BF721508D60F005923FE /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 24D3BF731508D60F005923FE /* en */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ 24D3BF761508D60F005923FE /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 24D3BF771508D60F005923FE /* es */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ 24D3BF7A1508D60F005923FE /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 24D3BF7B1508D60F005923FE /* de */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+ 24D3BF7E1508D60F005923FE /* Localizable.strings */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 24D3BF7F1508D60F005923FE /* se */,
+ );
+ name = Localizable.strings;
+ sourceTree = "<group>";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 24D3BF9E1508D60F005923FE /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = (
+ armv6,
+ "$(ARCHS_STANDARD_32_BIT)",
+ );
+ CLANG_ENABLE_OBJC_ARC = NO;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_SYMBOLS_PRIVATE_EXTERN = NO;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 3.0;
+ SDKROOT = iphoneos;
+ };
+ name = Debug;
+ };
+ 24D3BF9F1508D60F005923FE /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = (
+ armv6,
+ "$(ARCHS_STANDARD_32_BIT)",
+ );
+ CLANG_ENABLE_OBJC_ARC = NO;
+ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
+ COPY_PHASE_STRIP = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 3.0;
+ SDKROOT = iphoneos;
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 24D3BFA11508D60F005923FE /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = YES;
+ COPY_PHASE_STRIP = NO;
+ FRAMEWORK_SEARCH_PATHS = /Users/Shared/Cordova/Frameworks;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "FixMyStreet/FixMyStreet-Prefix.pch";
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1,",
+ "CORDOVA_FRAMEWORK=1",
+ );
+ INFOPLIST_FILE = "FixMyStreet/FixMyStreet-Info.plist";
+ OTHER_LDFLAGS = (
+ "-weak_framework",
+ UIKit,
+ "-weak_framework",
+ AVFoundation,
+ "-weak_framework",
+ CoreMedia,
+ "-weak_library",
+ /usr/lib/libSystem.B.dylib,
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 1;
+ VALIDATE_PRODUCT = YES;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Debug;
+ };
+ 24D3BFA21508D60F005923FE /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ FRAMEWORK_SEARCH_PATHS = /Users/Shared/Cordova/Frameworks;
+ GCC_PRECOMPILE_PREFIX_HEADER = YES;
+ GCC_PREFIX_HEADER = "FixMyStreet/FixMyStreet-Prefix.pch";
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "NDEBUG=1,",
+ "CORDOVA_FRAMEWORK=1",
+ );
+ INFOPLIST_FILE = "FixMyStreet/FixMyStreet-Info.plist";
+ OTHER_LDFLAGS = (
+ "-weak_framework",
+ UIKit,
+ "-weak_framework",
+ AVFoundation,
+ "-weak_framework",
+ CoreMedia,
+ "-weak_library",
+ /usr/lib/libSystem.B.dylib,
+ );
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ TARGETED_DEVICE_FAMILY = 1;
+ VALIDATE_PRODUCT = NO;
+ WRAPPER_EXTENSION = app;
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 24D3BF3E1508D60E005923FE /* Build configuration list for PBXProject "FixMyStreet" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 24D3BF9E1508D60F005923FE /* Debug */,
+ 24D3BF9F1508D60F005923FE /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 24D3BFA01508D60F005923FE /* Build configuration list for PBXNativeTarget "FixMyStreet" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 24D3BFA11508D60F005923FE /* Debug */,
+ 24D3BFA21508D60F005923FE /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 24D3BF3B1508D60E005923FE /* Project object */;
+}
diff --git a/phonegap/iPhone/FixMyStreet.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/phonegap/iPhone/FixMyStreet.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 000000000..f65be0eea
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:FixMyStreet.xcodeproj">
+ </FileRef>
+</Workspace>
diff --git a/phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/FixMyStreet.xcscheme b/phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/FixMyStreet.xcscheme
new file mode 100644
index 000000000..1bd90c562
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/FixMyStreet.xcscheme
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "24D3BF461508D60F005923FE"
+ BuildableName = "FixMyStreet.app"
+ BlueprintName = "FixMyStreet"
+ ReferencedContainer = "container:FixMyStreet.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "24D3BF461508D60F005923FE"
+ BuildableName = "FixMyStreet.app"
+ BlueprintName = "FixMyStreet"
+ ReferencedContainer = "container:FixMyStreet.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "24D3BF461508D60F005923FE"
+ BuildableName = "FixMyStreet.app"
+ BlueprintName = "FixMyStreet"
+ ReferencedContainer = "container:FixMyStreet.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "24D3BF461508D60F005923FE"
+ BuildableName = "FixMyStreet.app"
+ BlueprintName = "FixMyStreet"
+ ReferencedContainer = "container:FixMyStreet.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
diff --git a/phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/xcschememanagement.plist b/phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 000000000..0d3188478
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet.xcodeproj/xcuserdata/struan.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>SchemeUserState</key>
+ <dict>
+ <key>FixMyStreet.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>24D3BF461508D60F005923FE</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
diff --git a/phonegap/iPhone/FixMyStreet/Classes/AppDelegate.h b/phonegap/iPhone/FixMyStreet/Classes/AppDelegate.h
new file mode 100644
index 000000000..cee4240b1
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Classes/AppDelegate.h
@@ -0,0 +1,50 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+//
+// AppDelegate.h
+// cordova1.8.0
+//
+// Created by Struan Donald on 08/06/2012.
+// Copyright __MyCompanyName__ 2012. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+#ifdef CORDOVA_FRAMEWORK
+ #import <Cordova/CDVViewController.h>
+#else
+ #import "CDVViewController.h"
+#endif
+
+
+@interface AppDelegate : NSObject < UIApplicationDelegate > {
+
+}
+
+// invoke string is passed to your app on launch, this is only valid if you
+// edit cordova1.8.0-Info.plist to add a protocol
+// a simple tutorial can be found here :
+// http://iphonedevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
+
+@property (nonatomic, retain) IBOutlet UIWindow* window;
+@property (nonatomic, retain) IBOutlet CDVViewController* viewController;
+
+@end
+
diff --git a/phonegap/iPhone/FixMyStreet/Classes/AppDelegate.m b/phonegap/iPhone/FixMyStreet/Classes/AppDelegate.m
new file mode 100644
index 000000000..ad518dc80
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Classes/AppDelegate.m
@@ -0,0 +1,140 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+//
+// AppDelegate.m
+// cordova1.8.0
+//
+// Created by Struan Donald on 08/06/2012.
+// Copyright __MyCompanyName__ 2012. All rights reserved.
+//
+
+#import "AppDelegate.h"
+#import "MainViewController.h"
+
+#ifdef CORDOVA_FRAMEWORK
+ #import <Cordova/CDVPlugin.h>
+ #import <Cordova/CDVURLProtocol.h>
+#else
+ #import "CDVPlugin.h"
+ #import "CDVURLProtocol.h"
+#endif
+
+
+@implementation AppDelegate
+
+@synthesize window, viewController;
+
+- (id) init
+{
+ /** If you need to do any extra app-specific initialization, you can do it here
+ * -jm
+ **/
+ NSHTTPCookieStorage *cookieStorage = [NSHTTPCookieStorage sharedHTTPCookieStorage];
+ [cookieStorage setCookieAcceptPolicy:NSHTTPCookieAcceptPolicyAlways];
+
+ [CDVURLProtocol registerURLProtocol];
+
+ return [super init];
+}
+
+#pragma UIApplicationDelegate implementation
+
+/**
+ * This is main kick off after the app inits, the views and Settings are setup here. (preferred - iOS4 and up)
+ */
+- (BOOL) application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions
+{
+ NSURL* url = [launchOptions objectForKey:UIApplicationLaunchOptionsURLKey];
+ NSString* invokeString = nil;
+
+ if (url && [url isKindOfClass:[NSURL class]]) {
+ invokeString = [url absoluteString];
+ NSLog(@"cordova1.8.0 launchOptions = %@", url);
+ }
+
+ CGRect screenBounds = [[UIScreen mainScreen] bounds];
+ self.window = [[[UIWindow alloc] initWithFrame:screenBounds] autorelease];
+ self.window.autoresizesSubviews = YES;
+
+ CGRect viewBounds = [[UIScreen mainScreen] applicationFrame];
+
+ self.viewController = [[[MainViewController alloc] init] autorelease];
+ self.viewController.useSplashScreen = YES;
+ self.viewController.wwwFolderName = @"www";
+ self.viewController.startPage = @"index.html";
+ self.viewController.invokeString = invokeString;
+ self.viewController.view.frame = viewBounds;
+
+ // check whether the current orientation is supported: if it is, keep it, rather than forcing a rotation
+ BOOL forceStartupRotation = YES;
+ UIDeviceOrientation curDevOrientation = [[UIDevice currentDevice] orientation];
+
+ if (UIDeviceOrientationUnknown == curDevOrientation) {
+ // UIDevice isn't firing orientation notifications yet… go look at the status bar
+ curDevOrientation = (UIDeviceOrientation)[[UIApplication sharedApplication] statusBarOrientation];
+ }
+
+ if (UIDeviceOrientationIsValidInterfaceOrientation(curDevOrientation)) {
+ for (NSNumber *orient in self.viewController.supportedOrientations) {
+ if ([orient intValue] == curDevOrientation) {
+ forceStartupRotation = NO;
+ break;
+ }
+ }
+ }
+
+ if (forceStartupRotation) {
+ NSLog(@"supportedOrientations: %@", self.viewController.supportedOrientations);
+ // The first item in the supportedOrientations array is the start orientation (guaranteed to be at least Portrait)
+ UIInterfaceOrientation newOrient = [[self.viewController.supportedOrientations objectAtIndex:0] intValue];
+ NSLog(@"AppDelegate forcing status bar to: %d from: %d", newOrient, curDevOrientation);
+ [[UIApplication sharedApplication] setStatusBarOrientation:newOrient];
+ }
+
+ [self.window addSubview:self.viewController.view];
+ [self.window makeKeyAndVisible];
+
+ return YES;
+}
+
+// this happens while we are running ( in the background, or from within our own app )
+// only valid if cordova1.8.0-Info.plist specifies a protocol to handle
+- (BOOL) application:(UIApplication*)application handleOpenURL:(NSURL*)url
+{
+ if (!url) {
+ return NO;
+ }
+
+ // calls into javascript global function 'handleOpenURL'
+ NSString* jsString = [NSString stringWithFormat:@"handleOpenURL(\"%@\");", url];
+ [self.viewController.webView stringByEvaluatingJavaScriptFromString:jsString];
+
+ // all plugins will get the notification, and their handlers will be called
+ [[NSNotificationCenter defaultCenter] postNotification:[NSNotification notificationWithName:CDVPluginHandleOpenURLNotification object:url]];
+
+ return YES;
+}
+
+- (void) dealloc
+{
+ [super dealloc];
+}
+
+@end
diff --git a/phonegap/iPhone/FixMyStreet/Classes/MainViewController.h b/phonegap/iPhone/FixMyStreet/Classes/MainViewController.h
new file mode 100644
index 000000000..3f48936da
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Classes/MainViewController.h
@@ -0,0 +1,36 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+//
+// MainViewController.h
+// cordova1.8.0
+//
+// Created by Struan Donald on 08/06/2012.
+// Copyright __MyCompanyName__ 2012. All rights reserved.
+//
+
+#ifdef CORDOVA_FRAMEWORK
+ #import <Cordova/CDVViewController.h>
+#else
+ #import "CDVViewController.h"
+#endif
+
+@interface MainViewController : CDVViewController
+
+@end
diff --git a/phonegap/iPhone/FixMyStreet/Classes/MainViewController.m b/phonegap/iPhone/FixMyStreet/Classes/MainViewController.m
new file mode 100644
index 000000000..289da3596
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Classes/MainViewController.m
@@ -0,0 +1,140 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+//
+// MainViewController.h
+// cordova1.8.0
+//
+// Created by Struan Donald on 08/06/2012.
+// Copyright __MyCompanyName__ 2012. All rights reserved.
+//
+
+#import "MainViewController.h"
+
+@implementation MainViewController
+
+- (id) initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
+{
+ self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
+ if (self) {
+ // Custom initialization
+ }
+ return self;
+}
+
+- (void) didReceiveMemoryWarning
+{
+ // Releases the view if it doesn't have a superview.
+ [super didReceiveMemoryWarning];
+
+ // Release any cached data, images, etc that aren't in use.
+}
+
+#pragma mark - View lifecycle
+
+- (void) viewDidLoad
+{
+ [super viewDidLoad];
+ // Do any additional setup after loading the view from its nib.
+}
+
+- (void) viewDidUnload
+{
+ [super viewDidUnload];
+ // Release any retained subviews of the main view.
+ // e.g. self.myOutlet = nil;
+}
+
+- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
+{
+ // Return YES for supported orientations
+ return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
+}
+
+/* Comment out the block below to over-ride */
+/*
+- (CDVCordovaView*) newCordovaViewWithFrame:(CGRect)bounds
+{
+ return[super newCordovaViewWithFrame:bounds];
+}
+*/
+
+/* Comment out the block below to over-ride */
+/*
+#pragma CDVCommandDelegate implementation
+
+- (id) getCommandInstance:(NSString*)className
+{
+ return [super getCommandInstance:className];
+}
+
+- (BOOL) execute:(CDVInvokedUrlCommand*)command
+{
+ return [super execute:command];
+}
+
+- (NSString*) pathForResource:(NSString*)resourcepath;
+{
+ return [super pathForResource:resourcepath];
+}
+
+- (void) registerPlugin:(CDVPlugin*)plugin withClassName:(NSString*)className
+{
+ return [super registerPlugin:plugin withClassName:className];
+}
+*/
+
+#pragma UIWebDelegate implementation
+
+- (void) webViewDidFinishLoad:(UIWebView*) theWebView
+{
+ // only valid if ___PROJECTNAME__-Info.plist specifies a protocol to handle
+ if (self.invokeString)
+ {
+ // this is passed before the deviceready event is fired, so you can access it in js when you receive deviceready
+ NSString* jsString = [NSString stringWithFormat:@"var invokeString = \"%@\";", self.invokeString];
+ [theWebView stringByEvaluatingJavaScriptFromString:jsString];
+ }
+
+ // Black base color for background matches the native apps
+ theWebView.backgroundColor = [UIColor blackColor];
+
+ return [super webViewDidFinishLoad:theWebView];
+}
+
+/* Comment out the block below to over-ride */
+/*
+
+- (void) webViewDidStartLoad:(UIWebView*)theWebView
+{
+ return [super webViewDidStartLoad:theWebView];
+}
+
+- (void) webView:(UIWebView*)theWebView didFailLoadWithError:(NSError*)error
+{
+ return [super webView:theWebView didFailLoadWithError:error];
+}
+
+- (BOOL) webView:(UIWebView*)theWebView shouldStartLoadWithRequest:(NSURLRequest*)request navigationType:(UIWebViewNavigationType)navigationType
+{
+ return [super webView:theWebView shouldStartLoadWithRequest:request navigationType:navigationType];
+}
+*/
+
+@end
diff --git a/phonegap/iPhone/FixMyStreet/Classes/MainViewController.xib b/phonegap/iPhone/FixMyStreet/Classes/MainViewController.xib
new file mode 100644
index 000000000..9837f578c
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Classes/MainViewController.xib
@@ -0,0 +1,118 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="8.00">
+ <data>
+ <int key="IBDocument.SystemTarget">1280</int>
+ <string key="IBDocument.SystemVersion">11C25</string>
+ <string key="IBDocument.InterfaceBuilderVersion">1919</string>
+ <string key="IBDocument.AppKitVersion">1138.11</string>
+ <string key="IBDocument.HIToolboxVersion">566.00</string>
+ <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
+ <string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="NS.object.0">916</string>
+ </object>
+ <array key="IBDocument.IntegratedClassDependencies">
+ <string>IBProxyObject</string>
+ <string>IBUIView</string>
+ </array>
+ <array key="IBDocument.PluginDependencies">
+ <string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </array>
+ <object class="NSMutableDictionary" key="IBDocument.Metadata">
+ <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
+ <integer value="1" key="NS.object.0"/>
+ </object>
+ <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
+ <object class="IBProxyObject" id="372490531">
+ <string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBProxyObject" id="975951072">
+ <string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ <object class="IBUIView" id="191373211">
+ <reference key="NSNextResponder"/>
+ <int key="NSvFlags">274</int>
+ <string key="NSFrame">{{0, 20}, {320, 460}}</string>
+ <reference key="NSSuperview"/>
+ <reference key="NSWindow"/>
+ <object class="NSColor" key="IBUIBackgroundColor">
+ <int key="NSColorSpace">3</int>
+ <bytes key="NSWhite">MQA</bytes>
+ <object class="NSColorSpace" key="NSCustomColorSpace">
+ <int key="NSID">2</int>
+ </object>
+ </object>
+ <object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
+ <string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ </object>
+ </array>
+ <object class="IBObjectContainer" key="IBDocument.Objects">
+ <array class="NSMutableArray" key="connectionRecords">
+ <object class="IBConnectionRecord">
+ <object class="IBCocoaTouchOutletConnection" key="connection">
+ <string key="label">view</string>
+ <reference key="source" ref="372490531"/>
+ <reference key="destination" ref="191373211"/>
+ </object>
+ <int key="connectionID">3</int>
+ </object>
+ </array>
+ <object class="IBMutableOrderedSet" key="objectRecords">
+ <array key="orderedObjects">
+ <object class="IBObjectRecord">
+ <int key="objectID">0</int>
+ <array key="object" id="0"/>
+ <reference key="children" ref="1000"/>
+ <nil key="parent"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">1</int>
+ <reference key="object" ref="191373211"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-1</int>
+ <reference key="object" ref="372490531"/>
+ <reference key="parent" ref="0"/>
+ <string key="objectName">File's Owner</string>
+ </object>
+ <object class="IBObjectRecord">
+ <int key="objectID">-2</int>
+ <reference key="object" ref="975951072"/>
+ <reference key="parent" ref="0"/>
+ </object>
+ </array>
+ </object>
+ <dictionary class="NSMutableDictionary" key="flattenedProperties">
+ <string key="-1.CustomClassName">MainViewController</string>
+ <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="-2.CustomClassName">UIResponder</string>
+ <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ <string key="1.IBPluginDependency">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
+ </dictionary>
+ <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
+ <nil key="activeLocalization"/>
+ <dictionary class="NSMutableDictionary" key="localizations"/>
+ <nil key="sourceID"/>
+ <int key="maxID">3</int>
+ </object>
+ <object class="IBClassDescriber" key="IBDocument.Classes">
+ <array class="NSMutableArray" key="referencedPartialClassDescriptions">
+ <object class="IBPartialClassDescription">
+ <string key="className">MainViewController</string>
+ <string key="superclassName">UIViewController</string>
+ <object class="IBClassDescriptionSource" key="sourceIdentifier">
+ <string key="majorKey">IBProjectSource</string>
+ <string key="minorKey">./Classes/MainViewController.h</string>
+ </object>
+ </object>
+ </array>
+ </object>
+ <int key="IBDocument.localizationMode">0</int>
+ <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
+ <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
+ <int key="IBDocument.defaultPropertyAccessControl">3</int>
+ <string key="IBCocoaTouchPluginVersion">916</string>
+ </data>
+</archive>
diff --git a/phonegap/iPhone/FixMyStreet/Cordova.plist b/phonegap/iPhone/FixMyStreet/Cordova.plist
new file mode 100644
index 000000000..66c06689d
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Cordova.plist
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>UIWebViewBounce</key>
+ <true/>
+ <key>TopActivityIndicator</key>
+ <string>gray</string>
+ <key>EnableLocation</key>
+ <false/>
+ <key>EnableViewportScale</key>
+ <false/>
+ <key>AutoHideSplashScreen</key>
+ <true/>
+ <key>ShowSplashScreenSpinner</key>
+ <true/>
+ <key>MediaPlaybackRequiresUserAction</key>
+ <false/>
+ <key>AllowInlineMediaPlayback</key>
+ <false/>
+ <key>OpenAllWhitelistURLsInWebView</key>
+ <false/>
+ <key>ExternalHosts</key>
+ <array>
+ <string>*.tilma.mysociety.org</string>
+ <string>mapit.mysociety.org</string>
+ <string>*.tile.openstreetmap.org</string>
+ <string>*.virtualearth.net</string>
+ <string>struan.fixmystreet.com</string>
+ </array>
+ <key>Plugins</key>
+ <dict>
+ <key>Compass</key>
+ <string>CDVLocation</string>
+ <key>Accelerometer</key>
+ <string>CDVAccelerometer</string>
+ <key>Camera</key>
+ <string>CDVCamera</string>
+ <key>NetworkStatus</key>
+ <string>CDVConnection</string>
+ <key>Contacts</key>
+ <string>CDVContacts</string>
+ <key>Debug Console</key>
+ <string>CDVDebugConsole</string>
+ <key>File</key>
+ <string>CDVFile</string>
+ <key>FileTransfer</key>
+ <string>CDVFileTransfer</string>
+ <key>Geolocation</key>
+ <string>CDVLocation</string>
+ <key>Notification</key>
+ <string>CDVNotification</string>
+ <key>Media</key>
+ <string>CDVSound</string>
+ <key>Capture</key>
+ <string>CDVCapture</string>
+ <key>SplashScreen</key>
+ <string>CDVSplashScreen</string>
+ <key>Battery</key>
+ <string>CDVBattery</string>
+ </dict>
+</dict>
+</plist>
diff --git a/phonegap/iPhone/FixMyStreet/FixMyStreet-Info.plist b/phonegap/iPhone/FixMyStreet/FixMyStreet-Info.plist
new file mode 100644
index 000000000..3162159f6
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/FixMyStreet-Info.plist
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>English</string>
+ <key>CFBundleDisplayName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundleExecutable</key>
+ <string>${EXECUTABLE_NAME}</string>
+ <key>CFBundleIconFile</key>
+ <string>icon.png</string>
+ <key>CFBundleIconFiles</key>
+ <array>
+ <string>icon.png</string>
+ <string>icon@2x.png</string>
+ <string>icon-72.png</string>
+ </array>
+ <key>CFBundleIdentifier</key>
+ <string>org.mysociety.FixMyStreet</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>${PRODUCT_NAME}</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>2.0</string>
+ <key>CFBundleSignature</key>
+ <string>????</string>
+ <key>CFBundleVersion</key>
+ <string>2.0</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>NSMainNibFile</key>
+ <string></string>
+ <key>NSMainNibFile~ipad</key>
+ <string></string>
+ <key>UIStatusBarHidden</key>
+ <true/>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
diff --git a/phonegap/iPhone/FixMyStreet/FixMyStreet-Prefix.pch b/phonegap/iPhone/FixMyStreet/FixMyStreet-Prefix.pch
new file mode 100644
index 000000000..b74079015
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/FixMyStreet-Prefix.pch
@@ -0,0 +1,7 @@
+//
+// Prefix header for all source files of the 'FixMyStreet' target in the 'FixMyStreet' project
+//
+
+#ifdef __OBJC__
+ #import <UIKit/UIKit.h>
+#endif
diff --git a/phonegap/iPhone/FixMyStreet/Plugins/README b/phonegap/iPhone/FixMyStreet/Plugins/README
new file mode 100644
index 000000000..438840dbc
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Plugins/README
@@ -0,0 +1 @@
+Put the .h and .m files of your plugin here. The .js files of your plugin belong in the www folder. \ No newline at end of file
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg.png
new file mode 100644
index 000000000..784e9c7dd
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg@2x.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg@2x.png
new file mode 100644
index 000000000..1e28c6dbc
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg@2x.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg~ipad.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg~ipad.png
new file mode 100644
index 000000000..efbef8aaa
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/controls_bg~ipad.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone.png
new file mode 100644
index 000000000..155b88cae
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone@2x.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone@2x.png
new file mode 100644
index 000000000..79ef16bac
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone@2x.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone~ipad.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone~ipad.png
new file mode 100644
index 000000000..ef1c472bf
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/microphone~ipad.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button.png
new file mode 100644
index 000000000..ceb95898f
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button@2x.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button@2x.png
new file mode 100644
index 000000000..d6ce30281
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button@2x.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button~ipad.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button~ipad.png
new file mode 100644
index 000000000..d8e24a4d0
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/record_button~ipad.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg.png
new file mode 100644
index 000000000..bafc087e2
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg@2x.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg@2x.png
new file mode 100644
index 000000000..798490b0f
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg@2x.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg~ipad.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg~ipad.png
new file mode 100644
index 000000000..3b467f632
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/recording_bg~ipad.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button.png
new file mode 100644
index 000000000..9c31838a4
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button@2x.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button@2x.png
new file mode 100644
index 000000000..8cf657eaa
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button@2x.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button~ipad.png b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button~ipad.png
new file mode 100644
index 000000000..59bb7a573
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/Capture.bundle/stop_button~ipad.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/de.lproj/Localizable.strings b/phonegap/iPhone/FixMyStreet/Resources/de.lproj/Localizable.strings
new file mode 100644
index 000000000..f1cdb42d1
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/de.lproj/Localizable.strings
@@ -0,0 +1,26 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+
+// accessibility label for recording button
+"toggle audio recording" = "starten/beenden der Tonaufnahme";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "programmierte Aufnahme beendet";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "aufgenommene Zeit in Minuten und Sekunden"; \ No newline at end of file
diff --git a/phonegap/iPhone/FixMyStreet/Resources/en.lproj/Localizable.strings b/phonegap/iPhone/FixMyStreet/Resources/en.lproj/Localizable.strings
new file mode 100644
index 000000000..897268443
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/en.lproj/Localizable.strings
@@ -0,0 +1,25 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+// accessibility label for recording button
+"toggle audio recording" = "toggle audio recording";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "timed recording complete";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "recorded time in minutes and seconds"; \ No newline at end of file
diff --git a/phonegap/iPhone/FixMyStreet/Resources/es.lproj/Localizable.strings b/phonegap/iPhone/FixMyStreet/Resources/es.lproj/Localizable.strings
new file mode 100644
index 000000000..23831e662
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/es.lproj/Localizable.strings
@@ -0,0 +1,25 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+// accessibility label for recording button
+"toggle audio recording" = "grabación de audio cambiar";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "tiempo de grabación completo";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "tiempo registrado en minutos y segundos"; \ No newline at end of file
diff --git a/phonegap/iPhone/FixMyStreet/Resources/icons/icon-72.png b/phonegap/iPhone/FixMyStreet/Resources/icons/icon-72.png
new file mode 100644
index 000000000..8c6e5df34
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/icons/icon-72.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/icons/icon.png b/phonegap/iPhone/FixMyStreet/Resources/icons/icon.png
new file mode 100644
index 000000000..b2571a719
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/icons/icon.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/icons/icon@2x.png b/phonegap/iPhone/FixMyStreet/Resources/icons/icon@2x.png
new file mode 100644
index 000000000..d75098f5a
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/icons/icon@2x.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/se.lproj/Localizable.strings b/phonegap/iPhone/FixMyStreet/Resources/se.lproj/Localizable.strings
new file mode 100644
index 000000000..0af964685
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/se.lproj/Localizable.strings
@@ -0,0 +1,26 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+
+
+// accessibility label for recording button
+"toggle audio recording" = "börja/avsluta inspelning";
+// notification spoken by VoiceOver when timed recording finishes
+"timed recording complete" = "inspelning har avslutad";
+// accessibility hint for display of recorded elapsed time
+"recorded time in minutes and seconds" = "inspelad tid in minuter och sekund"; \ No newline at end of file
diff --git a/phonegap/iPhone/FixMyStreet/Resources/splash/Default.png b/phonegap/iPhone/FixMyStreet/Resources/splash/Default.png
new file mode 100644
index 000000000..644f3804c
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/splash/Default.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/Resources/splash/Default@2x.png b/phonegap/iPhone/FixMyStreet/Resources/splash/Default@2x.png
new file mode 100644
index 000000000..02d6e3593
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/Resources/splash/Default@2x.png
Binary files differ
diff --git a/phonegap/iPhone/FixMyStreet/en.lproj/InfoPlist.strings b/phonegap/iPhone/FixMyStreet/en.lproj/InfoPlist.strings
new file mode 100644
index 000000000..477b28ff8
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/en.lproj/InfoPlist.strings
@@ -0,0 +1,2 @@
+/* Localized versions of Info.plist keys */
+
diff --git a/phonegap/iPhone/FixMyStreet/main.m b/phonegap/iPhone/FixMyStreet/main.m
new file mode 100644
index 000000000..b6fba52b1
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/main.m
@@ -0,0 +1,35 @@
+/*
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ */
+//
+// main.m
+// FixMyStreet
+//
+// Created by Struan Donald on 08/03/2012.
+// Copyright __MyCompanyName__ 2012. All rights reserved.
+//
+
+#import <UIKit/UIKit.h>
+
+int main(int argc, char *argv[]) {
+
+ NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
+ int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
+ [pool release];
+ return retVal;
+}
diff --git a/phonegap/iPhone/FixMyStreet/verify.sh b/phonegap/iPhone/FixMyStreet/verify.sh
new file mode 100755
index 000000000..0f6f0373c
--- /dev/null
+++ b/phonegap/iPhone/FixMyStreet/verify.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+
+if [ ! -d "$PROJECT_DIR/www" ] ; then
+ cp -R /Users/Shared/Cordova/Frameworks/Cordova.framework/www "$PROJECT_DIR"
+fi
+# detect www folder reference in project, if missing, print warning
+grep "{isa = PBXFileReference; lastKnownFileType = folder; path = www; sourceTree = \"<group>\"; };" "$PROJECT_DIR/$PROJECT_NAME.xcodeproj/project.pbxproj"
+rc=$?
+if [ $rc != 0 ] ; then
+echo -e "warning: Missing - Add $PROJECT_DIR/www as a folder reference in your project. Just drag and drop the folder into your project, into the Project Navigator of Xcode 4. Make sure you select the second radio-button: 'Create folder references for any added folders' (which will create a blue folder)" 1>&2
+fi \ No newline at end of file