Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8977443
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T19:22:21+00:00 2026-06-15T19:22:21+00:00

tthis is my first Question here. So please forgive me, if its not perfekt

  • 0

tthis is my first Question here. So please forgive me, if its not perfekt formated.

Goal

A native App, build with Phonegap via Dreamweaver, includes the Barcode Scanner Plugin
https://github.com/phonegap/phonegap-plugins/tree/master/iPhone/BarcodeScanner

Issue

All iOS versions i tried, shows the barcode scanner in portrait mode, expect iOS 6. Its shows a landscape orientation for the barcode scanner plugin. If this were the matter, i could deal with it, but it only scans, when i hold it in a portrait orientation.

I googled all day long, without any solution.

Here is my config.xml file:

<feature name="http://api.phonegap.com/1.0/device" />

<preference name="phonegap-version"     value="2.2.0" />
<preference name="orientation"          value="portrait" />
<preference name="target-device"        value="universal" />
<preference name="fullscreen"           value="false" />
<preference name="webviewbounce"            value="false" />
<preference name="ios-statusbarstyle" value="black-opaque" />

<gap:plugin name="BarcodeScanner" />
<gap:plugin name="ChildBrowser" />
<access origin="*" />

I want a portrait orientated barcode scanner in all OS. Any solution for this problem?

EDIT: Found a Solution

At least, i loaded all my Data in xcode. Downloaded the latest version of the barcodescanner plugin. Set it up in xcode, compiled it and it worked.

It seems to be, that the Problem is an outdated version of the barcodescanner plugin, which is used by Phonegap, when the build is created via Dreamweaver/Phonegap Webseite.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T19:22:22+00:00Added an answer on June 15, 2026 at 7:22 pm

    Please update below code in AppDelegate.m file

    Add this line:

    [self.window setRootViewController:self.viewController];
    

    Comment this line (or) remove this line:

    //[self.window addSubview:self.viewController.view];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First question here, so please forgive me if this seems obvious. I'm having a
This is my first post here so please forgive any protocol errors. My question
this is my first question on here, so please forgive me when i am
this is my first question here :) I know that I should not check
This is my first post, so please forgive me if this question has been
OK, first off, I am NOT really familiar with javascript, so please forgive if
First question on here so please be nice :) I know very little about
Please forgive the noob question. I've been developing this little app (with Unity) for
This is my first question here, so please try to be patient with me
It will be my first question here so please be lenient. How is this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.