Inclusion Criteria:  Age 18 years or older Patients with 2A. Diagnosed (ICD-10) TIA (G45.9: Transitory ischemic attack or G45.3: Amaurosis fugax, or 2B. ICD-10 ischemic stroke, I63.0-9. 2C. Newly diagnosed atrial fibrillation. 2D. Atrial fibrillation with an increased risk of stroke (contraindication to oral anticoagulants, reduced dose of oral anticoagulants or other risk factors presenting an estimated annual stroke risk of 5% or more despite anticoagulants treatment. Subject has after study specific information consent to participation by signing the Ethics committee-approved inform consent form.  Exclusion Criteria:  Already included in the study in connection with previous TIA/stroke. Has an affected arm function due to previous stroke or other illness/trauma. Cannot provide informed consent to participation in the study. Does not speak Swedish or English in speech and writing. Assessed due to other diseases or circumstances in general cannot contribute to planned follow-up within the framework of the study. Do not want to participate. During the study period, do not have access to a compatible smartPhone. Not deemed capable of managing the Stroke Alarm smartphone app.