@@ -0,0 +1,1063 @@
+package io.trigger.forge.android.modules.calendar;%0A%0Aimport android.Manifest;%0Aimport android.content.pm.PackageManager;%0Aimport android.os.Bundle;%0Aimport android.support.v4.app.ActivityCompat;%0Aimport android.support.v4.content.ContextCompat;%0Aimport io.trigger.forge.android.core.ForgeApp;%0Aimport io.trigger.forge.android.core.ForgeEventListener;%0A%0Apublic class EventListener extends ForgeEventListener %7B%0A%0A%09static final int PERMISSIONS_REQUEST = 1;%0A%09%0A%09@Override%0A    public void onCreate(Bundle savedInstanceState) %7B%0A%09%09if (!checkPermissions()) %7B%0A%09%09%09ActivityCompat.requestPermissions(ForgeApp.getActivity(), new String%5B%5D %7B  %0A%09%09%09%09Manifest.permission.READ_CALENDAR,%0A%09%09%09%09Manifest.permission.WRITE_CALENDAR%0A%09%09%09%7D, PERMISSIONS_REQUEST);%0A%09%09%7D%0A%09%7D%0A%09%0A%09public static boolean checkPermissions() %7B%0A%09%09return ContextCompat.checkSelfPermission(ForgeApp.getActivity(), Manifest.permission.READ_CALENDAR) == PackageManager.PERMISSION_GRANTED &&%0A%09%09%09   ContextCompat.checkSelfPermission(ForgeApp.getActivity(), Manifest.permission.WRITE_CALENDAR) == PackageManager.PERMISSION_GRANTED;%0A%09%7D%0A%7D%0A

Add missing file: EventListener.java