Receiving one notification instead of several notification

Hi,

I am developing an iOS app using estimote Proximity SDK which sends notification to the user, when user enters to the region of beacon. When the user goes to store and enters the region of a beacon, he receives the notification, and also, when he walks around the store and comes back to the previous region, he again receives the notification.

Is there any way that when the user goes to store, he only gets one time notification for each beacon so he does not keep receiving multiple notifications from one beacon?

I really need help. I would appreciate if you can help me.

This is the code that I used for notification.

let zoneCoconut1 = ProximityZone(tag: “proximityTestCoconut1”, range:.near)

    zoneCoconut1.onEnter = { context in
        let content = UNMutableNotificationContent()
        content.title = "Welcome"
        content.body = "Message"
        content.sound = UNNotificationSound.default
        let request = UNNotificationRequest(identifier: "enterCoconut1", content: content, trigger: nil)
        notificationCenter.add(request, withCompletionHandler: nil)
        
        //Firebase
        Analytics.logEvent("EnterCoconut1", parameters: nil)
        
    }