NeuraApiClient.registerFirebaseToken/activity

Blocks the Neura Analytics and Location tracking platform. Based upon the published Neura SDK https://docs.neura,com/android

CollectionFif
GroupUse.Analytics
NameNeuraApiClient.registerFirebaseToken/activity
AuthorFif_
Version1
Updated (UTC)2018-04-11 06:09:38
Created (UTC)2018-04-11 06:09:38
Downloads1413
Class namecom.neura.standalonesdk.service.NeuraApiClient
Method nameregisterFirebaseToken
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.NeuraApiClient is a set of Lua hooks designed to work with XPrivacyLua.
-- Copyright (C) 2018 Philippe Troin (Fif_ on XDA)

-- Fif.NeuraApiClient 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.NeuraApiClient 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 name = hook:getName()
    local index = 0
    if name == 'NeuraApiClient.registerPushServerApiKey'
        or name == 'NeuraApiClient.registerFirebaseToken/activity' then
        index = 1
    end
    local token = param:getArgument(index)
    if token ~= nil then
        local fake = string.rep("0", token:len())
        param:setArgument(index, fake)
        return true, token, fake
    end
    return false
end