PlacedAgent.registerUser

Blocks the Placed SDK which sends your location to Placed's server at all times. Based upon the documentation at https://github.com/placed/android-placed-sdk/blob/master/README.md The hook will be added to the "Use analytics" category. A single hook is enough to block the entire SDK as it converts register calls to unregister ones. Instructions: 1. Download this hook. 2. Make sure that the Fif collection is enabled in XPL Pro. 3. For any app for which you want the hook to apply: 3.a. Toggle the "Use analytics" category until it's fully enabled (red) in XPL. 3.b. Or, alternately, enable the Placed.registerUser hook in XPL Pro. Changelog: v1p1 - 2018-10-06 Fix typos in description string, version code still at 1. v1 - 2018-10-06 First public release.

CollectionFif
GroupUse.Analytics
NamePlacedAgent.registerUser
AuthorFif_
Version1
Updated (UTC)2018-10-07 15:59:51
Created (UTC)2018-10-07 05:31:48
Downloads1050
Class namecom.placed.client.android.persistent.PlacedAgent
Method nameregisterUser
Parameter typesandroid.app.Activity, java.lang.String
Return typevoid
Min SDK1
Max SDK999
Min APK0
Max APK2147483647
Excluded packages-
EnabledYes
OptionalYes
UsageYes
NotifyNo
Settings-
-- Fif.PlacedAgent.registerUser is a Lua hook designed to work with XPrivacyLua.
-- Copyright (C) 2018 Philippe Troin (Fif_ on XDA)

-- Fif.PlacedAgent.registerUser is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.

-- Fif.PlacedAgent.registerUser is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-- GNU General Public License for more details.

-- You should have received a copy of the GNU General Public License
-- along with XPrivacyLua.  If not, see <http://www.gnu.org/licenses/>.

function before(hook, param)
    local clsAgent = luajava.bindClass('com.placed.client.android.persistent.PlacedAgent')
    clsAgent:deregisterUser(param:getArgument(0), param:getArgument(1))
    param:setResult(nil)
    return true
end