How can I get the current Activity on android , and kill the current activity
@Fabiyo NativeScript works on single activity and fragments. You must be able to gain access to the that activity using
I wanna use this function for killing the current activity
You should be able to call finish on the foregroundActivity.