Giter Club home page Giter Club logo

cordova-plugin-searchads's Introduction

Hi 👋, I'm Nikola Brežnjak

I’m an engineer at heart and a jack of all trades kind of guy, currently working as an engineering leader at Microblink.

hitman666

hitman666

hitmanhr

Blogs posts

Connect with me:

nikola hitmanhr nikola-brežnjak-892b9a24 534755

Languages and Tools:

bashbulmachartjscodeigniterfigmafirebasegcpgithugoionicjasminekarmamochapostmanunity

hitman666

 hitman666

cordova-plugin-searchads's People

Contributors

hitman666 avatar lukegardiner avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cordova-plugin-searchads's Issues

SWIFT_VERSION cannot be empty

Hi, thanks for your fix, we get this error:

SWIFT_VERSION cannot be empty

If we manually set the SWIFT_VERSION in XCode things work, do you know of a non-manual way to do this?

The plugin doesn't run on iOS projects with Swift v4 or greater

When trying to build as part of a swift 5 project you get errors stating that the function initialize cannot be found by cordova:

[CDVCommandQueue executePending] [Line 142] FAILED pluginJSON = ["SearchAds355435108","SearchAds","initialize",[]]

To fix it we need to add @objc in front of the function definition to make the swift function visible to the Objective C that cordova runs. Previously it was enough to just add @objc to the class definition, but from Swift 4 onwards this header was no longer automartically inferred by the compiler and has to be added to the source.

func initialize(_ command:CDVInvokedUrlCommand) {

becomes

@objc func initialize(_ command:CDVInvokedUrlCommand) {

I have made the fix and created a pull request. #2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.