apache / apache/cordova-plugin-camera

plugin making app go into landscape mode after taking a picture

Open
#478 4 comments 1 reaction 0 assignees View on GitHub
has-repro
Dominant language
Objective-C
Stars
976
Forks
1.6k
PR merge metrics
No merged PRs in 30d

Description

# Bug Report

## Problem
After I take a picture my entire app goes into landscape mode temporarily.

### What is expected to happen?
Should not switch the rotation of the app.

## Information

ionic info
[WARN] Bad integration name: gulp

Ionic:

ionic (Ionic CLI) : 4.12.0 (C:\Program Files\nodejs\node_modules\ionic)
Ionic Framework : ionic1 1.3.5
@ionic/v1-toolkit : 1.0.22

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 8.0.0
Cordova Plugins : no whitelisted plugins (15 plugins total)

System:

Android SDK Tools : 26.1.1 (C:\Users\aubrey\Documents\AndroidSDK)
NodeJS : v8.16.0 (C:\Program Files\nodejs\node.exe)
npm : 6.4.1
OS : Windows 10

cordova requirements

Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: installed android-28
Gradle: installed C:\Users\XYZ\Documents\Android\gradle\gradle-5.3.1\bin\gradle

### Environment, Platform, Device
Android, have not tried iOS yet. Android 5.

"cordova-android": "^8.0.0"
"cordova-plugin-camera": "^4.0.3"

## Checklist

- [x ] I searched for existing GitHub issues
- [ x] I updated all Cordova tooling to most recent version
- [ x] I included all the necessary information above

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Reproduce the issue on Android 5 with cordova-android 8.0.0 and cordova-plugin-camera 4.0.3, then trace the plugin's camera flow; done means taking a picture no longer temporarily rotates the app.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.