<commit_before># cordovaCameraIssues
Sample app demonstrating issues with Cordova Camera plugin

## Instructions

```sh
ionic start cameraIssue https://github.com/calendee/cordovaCameraIssues
cd cameraIssue
bower install ngCordova
cordova plugin add org.apache.cordova.camera
ionic platform add ios
```

## Issues

**NOTE** : Most of these memory issues were not occurring in Cordova 3.7.0.  The black viewfinder issues were specific to iOS 8 on some iPhone 5S's.  Now, they appear on iPhone 4S, iPod Touch, and iPhone 5S (ios 7 & 8).

- iOS 7 : Camera opens with black viewfinder.  Image capture DOES work though
- iOS 8 : Camera works properly first time. Subsequent camera instances open with black viewfinder.  Image capture does work
- In other apps with larger memory footprint, opening camera frequently results in issues described here:
 - https://issues.apache.org/jira/browse/CB-8542
 - https://issues.apache.org/jira/browse/CB-7641
 - Terminated Due to Memory Pressure<commit_msg>chore : add run instructions<commit_after># cordovaCameraIssues
Sample app demonstrating issues with Cordova Camera plugin

## Instructions

```sh
ionic start cameraIssue https://github.com/calendee/cordovaCameraIssues
cd cameraIssue
bower install ngCordova
cordova plugin add org.apache.cordova.camera
ionic platform add ios
# Now, Run on device via `ionic run ios` or run from Xcode
```

## Issues

**NOTE** : Most of these memory issues were not occurring in Cordova 3.7.0.  The black viewfinder issues were specific to iOS 8 on some iPhone 5S's.  Now, they appear on iPhone 4S, iPod Touch, and iPhone 5S (ios 7 & 8).

- iOS 7 : Camera opens with black viewfinder.  Image capture DOES work though
- iOS 8 : Camera works properly first time. Subsequent camera instances open with black viewfinder.  Image capture does work
- In other apps with larger memory footprint, opening camera frequently results in issues described here:
 - https://issues.apache.org/jira/browse/CB-8542
 - https://issues.apache.org/jira/browse/CB-7641
 - Terminated Due to Memory Pressure
{'fraction_non_alphanumeric': 0.07149805447470817, 'fraction_numerical': 0.01848249027237354, 'mean_word_length': 4.356770833333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '995386', 'n_tokens_mistral': 618, 'n_tokens_neox': 556, 'n_words': 256}