WU_Wu
April 27, 2016, 3:57pm
1
Does Cordova plugin support onExitedRegion()?
Or how to check leaving region in Monitoring mode?
thanks.
Depends which plugin I guess, there’s quite a few (:
(Note that none of the Cordova plugins out there are officially maintained or supported by Estimote.)
My personal favorite one is this:
It supports enter/exit events just fine.
WU_Wu
April 28, 2016, 3:24pm
3
Thanks for your reply.
But in the Cordova plugin you recommended, I still do not see the codes for handling exit event in the section of “Start monitoring a single iBeacon”.
What did I miss? Or could you give more example?
Thanks.
Here’s the list of all delegate methods this plugin supports:
/*
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
*/
var _ = require('com.unarin.cordova.beacon.underscorejs');
This file has been truncated. show original
Among them, there’s didEnterRegion
and didExitRegion
.
WU_Wu
April 30, 2016, 3:45pm
5
I am very appreciated for your help. We will try it soon.