Swine viral diseases have the capacity to cause significant losses and affect the sector’s sustainability, a situation further exacerbated by the lack of antiviral drugs and the limited availability of effective vaccines. In this context, a novel point-of-care (POC) diagnostic device incorporating photonic integrated circuits (PICs), microfluidics and information, and communication technology into a single platform was developed for the field diagnosis of African swine fever (ASF) and classical swine fever (CSF). The device targets viral particles and has been validated using oral fluid and serum samples. Sensitivity, specificity, accuracy, precision, positive likelihood ratio (PLR), negative likelihood ratio (NLR), and diagnostic odds ratio (DOR) were calculated to assess the performance of the device, and PCR was the reference method employed. Its sensitivities were 80.97% and 79%, specificities were 88.46% and 79.07%, and DOR values were 32.25 and 14.21 for ASF and CSF, respectively. The proposed POC device and PIC sensors can be employed for the pen-side detection of ASF and CSF, thus introducing novel technological advancements in the field of animal diagnostics. The need for proper validation studies of POC devices is highlighted to optimize animal biosecurity.