AppLock is a library to protect apps using a four digit pin
This library allows you to implement a pin lock mechanism in your app easily.
Once enabled a four-digit passcode needs to be entered any time your mobile app is launched. This way your app is safe even if your smartphone or tablet falls into the wrong hands.
AppLocker.getInstance().enableAppLock(this);
public class MainActivity extends LockActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
}
}
-dontwarn com.balram.locker.**
allprojects {
repositories {
maven { url "https://jitpack.io" }
}
}
and:
dependencies
{
'implementation 'com.github.RedCarpetUp:AppLock:Tag'
}
Copyright [2018] [@RedCarpetUp]
Licensed 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.