Sorry: They are both wrong. Believe your book.
"I don't care if he likes me or not." may even be common , perhaps especially in American, but it is still wrong grammatically.
If my daughter said either, I would correct her hoping that the incorrect pattern does not get reinforced.
...
(New Zealand English native, close to British English)