Git Product home page Git Product logo

plot-phonegap-plugin's People

Contributors

andrebsampaio avatar dlouwers avatar jan-pieter avatar kalliopinikitopoulou avatar markvandertol avatar marshall20 avatar marty-tinus avatar paulolobao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

plot-phonegap-plugin's Issues

Documentation should include plot.init and other "Getting Started" examples.

The Phonegap integration website does an ok step-by-step of how to use the plugin, but it's not quite a "Hello World" example. It makes use of the plot.init function, but doesn't say why it's used and it's not documented in this README.

I think it would be most helpful to a new user, testing out Plot for the first time, if the README were ordered as a step-by-step, instead of having to navigate to an outside page. I'm happy to submit a draft these changes as a PR if requested.

I'm also happy to contribute an Ionic (Angular on top of Cordova) example.

Problem building app in iOS with PhonegapBuild.

When I build the app to iOS in Phonegapbuild, this returns this error:
Error - A plugin in your app does not support the compulsory arm64 (64-bit support) architecture.

Now Apple force to build in 64-bit the applications.

Phonegap + estimote Beacon

Hello,

I tried to create a simple app using ionic and plot projects (v 1.10)

I added 3 beacons (same uuid but different maxid and minid) with a cooldown set to on re-entering zone and a near range (2 meters). Each beacon is supposed to send a notification when entering the zone.

I made sure that my app allowed background notification and ble devices. I also made sure my device (iPhone 5 a iOS 8.3) allowed background updates.

It seems that the behavior is quite chaotic. I sometimes receive 5 notifications from the same beacon in a row when not moving, then no notifications from the other beacons for several hours.

When the app is in the background, notifications are acting weird also. Nothing for several time and all of a sudden, I receive several notifications in a row.

I used to use another plugin from evothing (https://github.com/evothings/phonegap-estimotebeacons) and add more or less the same behavior.

Is there something I'm missing when creating the app? Since your plugin is really terrific and works really well for geofencing, I'd really love to use it for Beacons as well.

Is it something you already noticed ? Is there a way to make it more "stable"?

Many thanks in advance for your help.

R
JB

Build failed in iOS with xcode - linker command failed with exit code

When I build my app with the plot-project plugin ver. 1.10.0, it failed if my destination is my real iphone. If I my destination is the iphone emulator its builds perfectly.

Too if I use the plugin ver. 1.9.0 it builds in my real iphone and the emulator perfectly.

The error:

Ld /Users/pjcarames/Library/Developer/Xcode/DerivedData/Camino_Lebaniego_en_red-fkunyypdwtkogpgtmdcxwqfbmsjc/Build/Products/Debug-iphoneos/Camino\ Lebaniego\ en\ red.app/Camino\ Lebaniego\ en\ red normal arm64
    cd /Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.2.sdk -L/Users/pjcarames/Library/Developer/Xcode/DerivedData/Camino_Lebaniego_en_red-fkunyypdwtkogpgtmdcxwqfbmsjc/Build/Products/Debug-iphoneos -L/Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios/Camino\ Lebaniego\ en\ red/Plugins/com.plotprojects.cordova -F/Users/pjcarames/Library/Developer/Xcode/DerivedData/Camino_Lebaniego_en_red-fkunyypdwtkogpgtmdcxwqfbmsjc/Build/Products/Debug-iphoneos -FCamino\ Lebaniego\ en\ red/Plugins/com.googlemaps.ios -filelist /Users/pjcarames/Library/Developer/Xcode/DerivedData/Camino_Lebaniego_en_red-fkunyypdwtkogpgtmdcxwqfbmsjc/Build/Intermediates/Camino\ Lebaniego\ en\ red.build/Debug-iphoneos/Camino\ Lebaniego\ en\ red.build/Objects-normal/arm64/Camino\ Lebaniego\ en\ red.LinkFileList -dead_strip -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -ObjC -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=8.0 -framework AssetsLibrary /Users/pjcarames/Library/Developer/Xcode/DerivedData/Camino_Lebaniego_en_red-fkunyypdwtkogpgtmdcxwqfbmsjc/Build/Products/Debug-iphoneos/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework MediaPlayer -framework AVFoundation -framework JavaScriptCore -framework CoreLocation -weak_framework AddressBook -weak_framework AddressBookUI -weak_framework AudioToolbox -framework GoogleMaps -framework CoreData -framework CoreText -framework GLKit -framework ImageIO -lc++ -licucore -lz -framework OpenGLES -framework QuartzCore -framework SystemConfiguration -lPlot-v1_10_0 -lsqlite3 -framework MessageUI -Xlinker -dependency_info -Xlinker /Users/pjcarames/Library/Developer/Xcode/DerivedData/Camino_Lebaniego_en_red-fkunyypdwtkogpgtmdcxwqfbmsjc/Build/Intermediates/Camino\ Lebaniego\ en\ red.build/Debug-iphoneos/Camino\ Lebaniego\ en\ red.build/Objects-normal/arm64/Camino\ Lebaniego\ en\ red_dependency_info.dat -o /Users/pjcarames/Library/Developer/Xcode/DerivedData/Camino_Lebaniego_en_red-fkunyypdwtkogpgtmdcxwqfbmsjc/Build/Products/Debug-iphoneos/Camino\ Lebaniego\ en\ red.app/Camino\ Lebaniego\ en\ red

duplicate symbol l064 in:
    /Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios/Camino Lebaniego en red/Plugins/com.plotprojects.cordova/libPlot-v1_10_0.a(PlotPLandingPageView.o)
    /Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios/Camino Lebaniego en red/Plugins/com.plotprojects.cordova/libPlot-v1_10_0.a(PlotPNotificationService.o)
duplicate symbol l065 in:
    /Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios/Camino Lebaniego en red/Plugins/com.plotprojects.cordova/libPlot-v1_10_0.a(PlotPLandingPageView.o)
    /Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios/Camino Lebaniego en red/Plugins/com.plotprojects.cordova/libPlot-v1_10_0.a(PlotPNotificationService.o)
duplicate symbol l071 in:
    /Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios/Camino Lebaniego en red/Plugins/com.plotprojects.cordova/libPlot-v1_10_0.a(PlotPLocationUpdateService.o)
    /Users/pjcarames/Documents/HECTOR/pruebas/c_lebaniego_oms/platforms/ios/Camino Lebaniego en red/Plugins/com.plotprojects.cordova/libPlot-v1_10_0.a(PlotPSystemPublicLogDao.o)
ld: 3 duplicate symbols for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I use Xcode 6 and the deployment target is iOS8.

Error when installing Cordova plugin

Hello,

Your system looks great. Unfortunately, I have an issue when trying to install the Cordova plugin, my IOS build attempt always fail.

I'm using cordova 3.6.0-0.2.9 and xcode 5.1.1
This is the only plugin I try to install.

and I receive the error:
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/emulator/NHI2.app/NHI2 normal i386
(1 failure)

Do I do anything wrong ?
I must admit I have no knowledge in IOS development
Thanks a lot for your help

UIWebView deprecation

As of April 2020, Apple are no longer accepting new app submissions that use the deprecated UIWebView component from Apple's UIKit.

Currently, adding the latest version of this cordova plugin to an otherwise compliant project results in the build being rejected by Apple with the following explanation:

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Here's some more detail from Apple on the deprecation:
https://developer.apple.com/news/?id=12232019b

Can't receive notifications

My setup is as follows:

  1. Installed the cordopha plugin using CLI on my iPad using my application which is a released iPone app. I know ithe plugin is working because it ask to use my location and I get Plot| Acquired location: 37.138992,-121.610020.
    2.Use my iPhone as an iBeacon using PilotBeaconBrodcastExample. Broadcast indicates the configuration is Enabled.
  2. I defined one of my iBeacons with the configuration in the broadcast example.
  3. In my code I have a plot.filterCallback and a plot.notificationHandler. Neither are invoked.

I do not receive a notification.

Any ideas of what the problem is?

Thanks!
howard

Ios notifcation handler from background

Hello. Pretty sure this is a plugin issue rather than a support question, hence asking here rather than Stackoverflow

  • ios
  • notification handler code (as standard)
  • app in background

The message arrives and opens app, but the notification handler is never activated

(I need the notification handler to run so I can grab the data from the message, and navigate to the right place in the app, which is not a URL based routing structure)

Other notes

  • filter handler always runs
  • notification handler if the app is fully cold (not minimised) always runs

It is something to do with background apps and local notifications.

My expectation is that the notification handler will run if the app is in the background, or fully closed.

Thoughts? Thanks!

Uninstall doesn't work

I did this :
cordova plugin add cordova-plotprojects

Then :
cordova plugin remove com.plotprojects.cordova 2.0.0-beta

And when I run on device :
Uncaught Error: Module com.plotprojects.cordova.Plot does not exist.
at addEntry (cordova.js:1461)
at Object.exports.clobbers (cordova.js:1471)
at onScriptLoadingComplete (cordova.js:1882)
at scriptLoadedCallback (cordova.js:1915)
at HTMLScriptElement.__zone_symbol__ON_PROPERTYload (cordova.js:1869)
at HTMLScriptElement.H (polyfills.js:3)
at t.invokeTask (polyfills.js:3)
at r.runTask (polyfills.js:3)
at e.invokeTask [as invoke] (polyfills.js:3)
at p (polyfills.js:2)

duplicate issue with libPlot-v1_11_1.a

Hi,
I'm integrating libPlot-v1_11_1.a and got many issue about duplicate

  • xcode 6.4
  • swift 1

duplicate symbol _llvm.cmdline in:
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(Plot.o)
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(PlotPPlotInterface.o)
duplicate symbol _llvm.embedded.module in:
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(Plot.o)
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(PlotPPlotInterface.o)
..........
duplicate symbol _llvm.cmdline in:
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(Plot.o)
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(PlotPCooldownGroup.o)
duplicate symbol _llvm.embedded.module in:
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(Plot.o)
/Users/imac02/Documents/Projects/liive/Liive/libPlot-v1_11_1.a(PlotPCooldownGroup.o)
ld: 140 duplicate symbols for architecture x86_64

Anyone can help me this?

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.