installing the barcode scanner plugin for iOS phonegap - ios4

I'm looking to install the the phonegap barcode scanner plugin but I'm not quite sure where to start. I have already coded an app on the android using the same plugin so I'm looking to port this same app over to iOS. I was following a very easy tutorial for the android version so it was all straightforward and most of the hard work was done for me. But for the iOS version, it's not quite the same case.
Can I get some help confirming if my steps are correct? Also, since this plugin supports both android and iOS, my app should have no problem being ported correct?
right now, I'm thinking of doing the following:
1.http://wiki.phonegap.com/w/page/39991939/Getting%20Started%20with%20PhoneGap%20iOS%20using%20Xcode%204
this would get a template app running for the iOS
2.follow the install plugins direction on the github page
3.import main.js and index.html from my android code
4.success
is it as simple as I've described it? Am I missing something?

Related

Flutter web state and server-side solutions with flutter

What is the current state of flutter for web in performance, specially on mobile?
And can flutter run Nodejs code?
I am fairly new to web development and was looking for a quick solution to compile my flutter apps to Web.
I am using Firebase too, so not sure if I need Nodejs right now, but its good to know if flutter supports server side programming so if I changed the backend later.
Thanks!

React-native Google Cast Library

(this is probably a stupid question, but here goes..)
I've been trying for some days now at having a go at creating a integrated cast that works with react-native, but can't get it working.
Is there any easy way of integrating the cast library with react-native, any go-to examples like the CastHelloText-Android for example?
You may check this react-native-google-cast library that unifies both android and iOS chromecast sdk.
For iOS
This library requires Cocoapods to manage Chromecast SDK.
Add pod google-cast-sdk to your Podfile. This is the easier way to have the SDK up to date.
For Android
This library requires Google Play Services, Media Router and Google Cast dependencies to manage Chromecast SDK.
You need to add compile 'com.google.android.gms:play-services-cast:9.4.0' and compile 'com.android.support:mediarouter-v7:23.0.1' into your your app's build.gradle dependencies. mediarouterversion must match with your appcompat version.
Refer to the example folder to find an implementation of this project. Use pod install and react-native link react-native-google-cast to try it.

Does MtouchSdkVersion setting affect what version of iOS we can run on?

When deploying an existing Xamarin forms proj from Visual Studio I was getting errors like "Failed to load AOT module ‘System.Net.Http’ while running in aot-only mode". This had worked in the past, it seemed Xcode had recently updated before I hit the problem. I found I was able to get the project deploying by changing the csproj entry 10.0 to 10.3. It looks like I could change this setting and everyone would be ok if they also had updated xcode.
My concern is: Does this change what versions of iOS the application can support? Would it have any other surprises when deployed to the apple store?
One thing I don't understand is I am the only person seeing this issue. Another developer is able to deploy to an iOS device (iPad instead of an iPhone) that also has the latest version of iOS without problems. Running “xcodebuild -version” shows we have the same version of xcode installed (8.3.1) and running “xcodebuild -showsdks” shows we have the same iOS sdk available (iOS 10.3).
There is some good documentation on the iOS SDK version: https://developer.apple.com/library/content/documentation/DeveloperTools/Conceptual/cross_development/Overview/overview.html#//apple_ref/doc/uid/20002001-BABEBGCF
You can build against a higher version of the SDK and run against lower versions of iOS.
Building against different versions of the iOS SDK can cause differences in behavior, these may show as regressions in your application.

Using Zxing Library in my aplication

I have seriously tried to find a method to integrate zxing library for my barcode scanning application and found some examples and tutorials, but they mostly concentrate on the code of integrating the project library. I have understood how to use it but my only issue is I cant seem to find a correct way to copy the new zxing library. Please can anyone guide me through which files to copy where or how to bind the project in Android Studio.
I believe you want to 'add' the zxing library in your Android Studio project.
If you are comfortable with using Gradle, just add the below line in your app's build.gradle file under dependencies.
compile 'com.google.zxing:core:3.2.0'
Build your project and then start integrating zxing by importing the required classes.
I hope this answers your question and solves your problem.

how to load a polymer based website in a webview in an android app

I have made a project based on polymer. It works fine on any web browser. I want to make an android app with only a webview that loads my polymer website. The webview is working fine for all websites but not for my polymer based website. Please help.
If you use any other version of Android other than Lollipop you will surely run into this problem, that's because html imports are relatively new to HTML so it is implemented only in the very latested builds of chromium.
One way to get around the problem is to install an app by Google called Android System WebView, which brings the latest features including html import of Chromium to older devices.
Eric Bidelman has just posted an article on how to do this on the official Polymer site.
If you need support for older versions of Android you should look into Crosswalk by Intel. It's covered a bit in the article as well.

Resources